Last active
April 18, 2024 19:54
-
-
Save Midnoclose/96941097453a8461a4d8b047b66e77ac to your computer and use it in GitHub Desktop.
ZealOS QEMU VM script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# Attach the following line to the arguments to mount the install disc | |
# -cdrom ZealOS-boot.iso | |
[ -f Zeal.qcow2 ] || qemu-img create -f qcow2 Zeal.qcow2 20G | |
qemu-system-x86_64 \ | |
-machine q35,kernel_irqchip=off \ | |
-boot c \ | |
-hda Zeal.qcow2 \ | |
-nic user,model=virtio-net-pci \ | |
-m 2G \ | |
-smp $(nproc) \ | |
-soundhw pcspk \ | |
-accel kvm \ | |
-rtc base=localtime |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment