mirror of
https://github.com/YunoHost/yunohost-ci.git
synced 2024-09-03 20:05:53 +02:00
fix container name for unset mac addr
This commit is contained in:
parent
c05450ad8e
commit
ec05c80f27
1 changed files with 1 additions and 1 deletions
2
utils.sh
2
utils.sh
|
@ -206,7 +206,7 @@ rebuild_base_containers()
|
||||||
lxc config device add "$base_image_to_rebuild" cache-folder disk path=/cache source="$current_dir/cache"
|
lxc config device add "$base_image_to_rebuild" cache-folder disk path=/cache source="$current_dir/cache"
|
||||||
|
|
||||||
# Unset the mac address to ensure the copy will get a new one and will be able to get new IP
|
# Unset the mac address to ensure the copy will get a new one and will be able to get new IP
|
||||||
lxc config unset "$instance_to_publish" volatile.eth0.hwaddr
|
lxc config unset "$base_image_to_rebuild" volatile.eth0.hwaddr
|
||||||
|
|
||||||
create_snapshot "$base_image_to_rebuild" "$ynh_version" "before-install"
|
create_snapshot "$base_image_to_rebuild" "$ynh_version" "before-install"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue