diff options
author | EuAndreh <eu@euandre.org> | 2022-12-03 13:32:41 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2022-12-03 13:32:41 -0300 |
commit | 68aee3bc9e1cda7d07f3daa6430d2031f059f8e4 (patch) | |
tree | bc34b109814a0751a9eb1808e64de6ef19ea8a0b /bin/vm | |
parent | bin/status-bar: Use the updated VM counter logic (diff) | |
download | dotfiles-68aee3bc9e1cda7d07f3daa6430d2031f059f8e4.tar.gz dotfiles-68aee3bc9e1cda7d07f3daa6430d2031f059f8e4.tar.xz |
bin/vm: Make snapshot the default
Diffstat (limited to 'bin/vm')
-rwxr-xr-x | bin/vm | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |