Skip to content

Instantly share code, notes, and snippets.

@sandikata
Created September 4, 2020 11:01
Show Gist options
  • Save sandikata/4dffc40d20f7ed83a5a147e66b0af0f0 to your computer and use it in GitHub Desktop.
Save sandikata/4dffc40d20f7ed83a5a147e66b0af0f0 to your computer and use it in GitHub Desktop.
#!/bin/bash
sudo qemu-system-x86_64 -enable-kvm -cpu max -smp cores=10,threads=1,sockets=1 -m 20480 -boot menu=on -object iothread,id=io1 -device virtio-blk-pci,drive=disk0,iothread=io1 -drive if=none,id=disk0,cache=none,format=raw,aio=threads,file=/dev/vg0/KVMDISK0 -device virtio-tablet-pci -show-cursor -name "Gentoo Rolling" -daemonize -cdrom /home/rosen/Свалени/iso/systemrescuecd-amd64-6.1.3.iso -vga virtio -display gtk,gl=on -net nic,model=virtio,macaddr=DE:AD:BE:EF:E6:FB -net bridge,br=br0
# macaddr=DE:AD:BE:EF:E6:FB
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment