Skip to content

Instantly share code, notes, and snippets.

@pojntfx
Last active May 25, 2024 14:37
Show Gist options
  • Save pojntfx/d29ec433c995caf8c1227eb787329348 to your computer and use it in GitHub Desktop.
Save pojntfx/d29ec433c995caf8c1227eb787329348 to your computer and use it in GitHub Desktop.
Parrot VM with QEMU
#!/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 -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
#!/bin/bash
# Download ISO from https://www.parrotsec.org/security-edition/
qemu-img create -f qcow2 disk.qcow2 64G
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment