Browse Source

Add install / run pwsh script for windows qemu host

main
parent
commit
736a516984
Signed by: chris GPG Key ID: 3025DCBD46F81C0F
  1. 10
      bin/qemu-install.sh
  2. 8
      bin/qemu-run.sh

10
bin/qemu-install.sh

@ -0,0 +1,10 @@
#!/usr/bin/env pwsh
qemu-img create -f qcow2 nixos.qcow2
qemu-system-x86_64 -accel whpx,kernel-irqchip=off \
-hda .\nixos.qcow2 \
-m 4096 \
-net nic,model=virtio \
-net user \
-vga virtio \
-boot strict=on \
-cdrom .\nixos.iso

8
bin/qemu-run.sh

@ -0,0 +1,8 @@
#!/usr/bin/env pwsh
qemu-system-x86_64 -accel whpx,kernel-irqchip=off \
-hda .\nixos.qcow2 \
-m 4096 \
-net nic,model=virtio \
-net user \
-vga virtio \
-boot strict=on
Loading…
Cancel
Save