Merge "labs: snapshot takes name, not description"

This commit is contained in:
Jenkins 2014-08-19 21:10:00 +00:00 committed by Gerrit Code Review
commit 6331a609f4
2 changed files with 2 additions and 2 deletions

View File

@ -5,4 +5,4 @@ osbash enable_vagrant_ssh_keys.sh
scripts shutdown.sh
boot
wait_for_shutdown
snapshot "Network configured."
snapshot "network_configured"

View File

@ -276,7 +276,7 @@ function autostart_from_config {
echo >&2 _vbox_boot_with_autostart "$NODE_NAME" "$VM_SSH_PORT"
_vbox_boot_with_autostart "$NODE_NAME" "$VM_SSH_PORT"
elif [ "$field_1" == "snapshot" ]; then
# Format: snapshot "Description for snapshot"
# Format: snapshot <snapshot_name>
echo >&2 vm_snapshot "$NODE_NAME" "$field_2"
vm_snapshot "$NODE_NAME" "$field_2"
elif [ "$field_1" == "wait_for_shutdown" ]; then