Skip to content

Instantly share code, notes, and snippets.

@simhaonline
Forked from pojntfx/main.sh
Created July 23, 2024 14:34
Show Gist options
  • Save simhaonline/2a05c7df39822b323ddbf77f5d8ac54a to your computer and use it in GitHub Desktop.
Save simhaonline/2a05c7df39822b323ddbf77f5d8ac54a to your computer and use it in GitHub Desktop.

Revisions

  1. @pojntfx pojntfx revised this gist Nov 9, 2021. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion main.sh
    Original file line number Diff line number Diff line change
    @@ -1,3 +1,3 @@
    #!/bin/bash

    qemu-system-x86_64 -enable-kvm -m 4096 -smp $(nproc) -cpu host -device ac97 -audiodev alsa,id=snd0,out.buffer-length=500000,out.period-length=726 -show-cursor -usb -device usb-tablet -device virtio-keyboard-pci -net nic -net user -cdrom distro.iso -device virtio-vga,virgl=on -display gtk,gl=on,grab-on-hover=on -hda disk.qcow2 -bios /usr/share/edk2/ovmf/OVMF_CODE.fd
    qemu-system-x86_64 -enable-kvm -m 4096 -smp $(nproc) -cpu host -device ac97 -audiodev alsa,id=snd0,out.buffer-length=500000,out.period-length=726 -usb -device usb-tablet -device virtio-keyboard-pci -net nic -net user -cdrom distro.iso -device virtio-vga-gl -display gtk,gl=on,grab-on-hover=on -hda disk.qcow2 -bios /usr/share/edk2/ovmf/OVMF_CODE.fd
  2. @pojntfx pojntfx revised this gist Oct 12, 2021. 1 changed file with 5 additions and 0 deletions.
    5 changes: 5 additions & 0 deletions prerequisite.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,5 @@
    #!/bin/bash

    # Download ISO from https://www.parrotsec.org/security-edition/

    qemu-img create -f qcow2 disk.qcow2 64G
  3. @pojntfx pojntfx created this gist Oct 12, 2021.
    3 changes: 3 additions & 0 deletions main.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,3 @@
    #!/bin/bash

    qemu-system-x86_64 -enable-kvm -m 4096 -smp $(nproc) -cpu host -device ac97 -audiodev alsa,id=snd0,out.buffer-length=500000,out.period-length=726 -show-cursor -usb -device usb-tablet -device virtio-keyboard-pci -net nic -net user -cdrom distro.iso -device virtio-vga,virgl=on -display gtk,gl=on,grab-on-hover=on -hda disk.qcow2 -bios /usr/share/edk2/ovmf/OVMF_CODE.fd