mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 12:06:12 +00:00
Merge pull request #552 from lrowe/patch-1
Wait on correct container name
This commit is contained in:
commit
a42989df60
@ -45,7 +45,7 @@ sleep 5s
|
|||||||
# The first time this usually fails because CRIU cannot checkpoint things with
|
# The first time this usually fails because CRIU cannot checkpoint things with
|
||||||
# data on a socket.
|
# data on a socket.
|
||||||
lxc-checkpoint -n $name -v -s -D /tmp/checkpoint || FAIL "failed checkpointing"
|
lxc-checkpoint -n $name -v -s -D /tmp/checkpoint || FAIL "failed checkpointing"
|
||||||
lxc-wait -n u1 -s STOPPED
|
lxc-wait -n $name -s STOPPED
|
||||||
lxc-checkpoint -n $name -v -r -D /tmp/checkpoint || FAIL "failed restoring"
|
lxc-checkpoint -n $name -v -r -D /tmp/checkpoint || FAIL "failed restoring"
|
||||||
|
|
||||||
lxc-stop -n $name -t 1
|
lxc-stop -n $name -t 1
|
||||||
|
Loading…
Reference in New Issue
Block a user