Skip to content

Instantly share code, notes, and snippets.

@JakWai01
Forked from pojntfx/main.sh
Created November 10, 2021 15:08
Show Gist options
  • Save JakWai01/8eb9a8394b4db01faa4a5178d8d8498d to your computer and use it in GitHub Desktop.
Save JakWai01/8eb9a8394b4db01faa4a5178d8d8498d 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