aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/vm6
1 files changed, 3 insertions, 3 deletions
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