From 68aee3bc9e1cda7d07f3daa6430d2031f059f8e4 Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Sat, 3 Dec 2022 13:32:41 -0300 Subject: bin/vm: Make snapshot the default --- bin/vm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/vm') diff --git a/bin/vm b/bin/vm index 78a27f8..0305f3e 100755 --- a/bin/vm +++ b/bin/vm @@ -19,7 +19,7 @@ help() { -i IMAGE provide a custom QCoW2 image file -m MEMORY memory (default: 1G) -n dry-run: don't execute any code, assumes -v - -S don't write to VM image (snapshot on) + -S disable snapshots -p PORTMAP map the host port $HOSTP to the guest port $GUESTP using the $HOSTP:$GUESTP syntax -v verbose mode @@ -103,7 +103,7 @@ DRY_RUN=false GRAPHICS=false MEMORY=1G PORTMAPS='' -SNAPSHOT=false +SNAPSHOT=true VERBOSE=false while getopts 'Gi:m:np:Svh' flag; do case "$flag" in @@ -124,7 +124,7 @@ while getopts 'Gi:m:np:Svh' flag; do PORTMAPS="$PORTMAPS $OPTARG" ;; S) - SNAPSHOT=true + SNAPSHOT=false ;; v) VERBOSE=true -- cgit v1.2.3