diff --git a/shemum b/shemum index 9c95ae1..1b48fc9 100755 --- a/shemum +++ b/shemum @@ -49,7 +49,12 @@ remove function { rm -r $ROOT_PATH/$OS_NAME } - +start function { + qemu-system-x86_64 -boot c \ + -display none \ + -drive file=$IMG_PATH,format=raw \ + -m $RAM -smp $CPU +} # Options case $OPTION in @@ -79,10 +84,7 @@ case $OPTION in -m $RAM -smp $CPU ;; "start") - qemu-system-x86_64 -boot c \ - -display none \ - -drive file=$IMG_PATH,format=raw \ - -m $RAM -smp $CPU + start ;; "remove") remove