Update
This commit is contained in:
parent
ebaeb5c4a2
commit
ae780ac84a
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
qemu-img create -f qcow2 melawy.img 50G
|
|
@ -9,7 +9,8 @@ cp -av -- '/usr/share/edk2-ovmf/x64/OVMF_VARS.fd' "./out/"
|
||||||
|
|
||||||
qemu-system-x86_64 \
|
qemu-system-x86_64 \
|
||||||
-boot order=d,menu=on,reboot-timeout=5000 \
|
-boot order=d,menu=on,reboot-timeout=5000 \
|
||||||
-cdrom ./out/melawy-linux-2023.10.03-x86_64.iso \
|
-cdrom ./out/$(ls -1 | grep "\.iso" | tail -n 1) \
|
||||||
|
-drive file=melawy.img,index=0,media=disk,format=qcow2 \
|
||||||
-smbios type=0,uefi=on \
|
-smbios type=0,uefi=on \
|
||||||
-smp cpus=$virt_cpu \
|
-smp cpus=$virt_cpu \
|
||||||
-m "size=3072,slots=0,maxmem=$((3072*1024*1024))" \
|
-m "size=3072,slots=0,maxmem=$((3072*1024*1024))" \
|
Loading…
Reference in New Issue