|
|
@ -70,6 +70,7 @@ function get_container_net0 { |
|
|
function stop_old_container { |
|
|
function stop_old_container { |
|
|
pct-stop $CONTAINER |
|
|
pct-stop $CONTAINER |
|
|
pct-rename $CONTAINER $CONTAINER.9 |
|
|
pct-rename $CONTAINER $CONTAINER.9 |
|
|
|
|
|
sleep 10 # wait until rename action takes place |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
function create_new_container { |
|
|
function create_new_container { |
|
|
|