init
This commit is contained in:
commit
883f31932e
169 changed files with 5676 additions and 0 deletions
12
scripts/reset.sh
Executable file
12
scripts/reset.sh
Executable file
|
|
@ -0,0 +1,12 @@
|
|||
#!/bin/sh
|
||||
# Restore VMs to a snapshot.
|
||||
#
|
||||
# Usage:
|
||||
# scripts/reset.sh # restore to "initialized"
|
||||
# scripts/reset.sh provisioned # restore to "provisioned"
|
||||
set -eu
|
||||
. "$(dirname "$0")/env.sh"
|
||||
|
||||
label="${1:-initialized}"
|
||||
|
||||
exec "$SCRIPT_DIR/vm/restore.sh" "$label"
|
||||
Loading…
Add table
Add a link
Reference in a new issue