|
|
|
@ -67,12 +67,12 @@ function get_container_net0 { |
|
|
|
} |
|
|
|
|
|
|
|
function rename_old_container { |
|
|
|
pct set $OLD_VMID --delete net0 |
|
|
|
pct-rename $CONTAINER $CONTAINER.9 |
|
|
|
pct set $OLD_VMID --delete net0 |
|
|
|
sleep 3 |
|
|
|
} |
|
|
|
|
|
|
|
function create_new_container { |
|
|
|
sleep 2 |
|
|
|
miaou-create $CONTAINER |
|
|
|
|
|
|
|
local vmid=$(pct-lookup $CONTAINER) |
|
|
|
|