Functions #1

Merged
BonzaiBrains merged 5 commits from functions into master 2024-10-31 12:02:41 +00:00
Showing only changes of commit 75420d0f32 - Show all commits

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