bugzilla/scripts/reset.sh
Tiara Rodney 883f31932e
init
2026-03-14 05:38:45 +01:00

12 lines
281 B
Bash
Executable file

#!/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"