Commit a42989df by Stéphane Graber

Merge pull request #552 from lrowe/patch-1

Wait on correct container name
parents 82e40933 da0e298c
...@@ -45,7 +45,7 @@ sleep 5s ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment