Do not halt before snapshotting

This commit is contained in:
Mate Lakat 2014-01-29 21:16:07 +00:00
parent c288954d00
commit 173a3fc91c

View File

@ -84,12 +84,9 @@ echo HostKey /etc/ssh/ssh_host_ecdsa_key >> /etc/ssh/sshd_config
sudo -u jenkins -i /opt/nodepool-scripts/prepare_devstack.sh
rm -f $STAMP_FILE
sync
ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null root@192.168.33.2 halt -p
sleep 5
EOF
# Wait until machine is halted
sleep 30
nova image-create --poll $INSTANCE_NAME $NODE_IMAGE
nova delete $INSTANCE_NAME
ssh-agent -k