add: start function

This commit is contained in:
BonzaiBrains 2024-10-31 12:43:13 +01:00 committed by GitHub
parent 9048475efd
commit 75420d0f32
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

12
shemum
View file

@ -49,7 +49,12 @@ remove function {
rm -r $ROOT_PATH/$OS_NAME 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 # Options
case $OPTION in case $OPTION in
@ -79,10 +84,7 @@ case $OPTION in
-m $RAM -smp $CPU -m $RAM -smp $CPU
;; ;;
"start") "start")
qemu-system-x86_64 -boot c \ start
-display none \
-drive file=$IMG_PATH,format=raw \
-m $RAM -smp $CPU
;; ;;
"remove") "remove")
remove remove