mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-15 00:15:55 +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
|
||||
# data on a socket.
|
||||
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-stop -n $name -t 1
|
||||
|
Loading…
Reference in New Issue
Block a user