From ec05c80f27bea55f3bc553510975cd20e2d6ddb9 Mon Sep 17 00:00:00 2001 From: Kay0u Date: Wed, 17 May 2023 16:28:42 +0200 Subject: [PATCH] fix container name for unset mac addr --- utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils.sh b/utils.sh index 7813494..56fcb8b 100755 --- a/utils.sh +++ b/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" # 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"