Skip to content

Instantly share code, notes, and snippets.

@oldsj
Last active March 16, 2018 13:26
Show Gist options
  • Save oldsj/b09dd8169c53a608289fba074216c63e to your computer and use it in GitHub Desktop.
Save oldsj/b09dd8169c53a608289fba074216c63e to your computer and use it in GitHub Desktop.
LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin QEMU_AUDIO_DRV=none
/usr/bin/qemu-system-x86_64 -name ok-sc-cs01 -S -machine pc-i440fx-xenial,accel=kvm,usb=off
-bios /home/ubuntu/OVMF.fd -m 8192 -realtime mlock=off -smp 4,sockets=4,cores=1,threads=1
-uuid 3d87eda6-dbf7-4045-a783-31a1ef72b8ba -nographic -no-user-config -nodefaults
-chardev socket,id=charmonitor,path=/var/lib/libvirt/qemu/domain-ok-sc-cs01/monitor.sock,server,nowait
-mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc -no-shutdown -boot strict=on
-device piix3-usb-uhci,id=usb,bus=pci.0,addr=0x1.0x2
-drive file=/srv/salt-images/ok-sc-cs01/system.qcow2,format=qcow2,if=none,id=drive-ide0-0-0,cache=none,aio=native
-device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=1
-netdev tap,fd=26,id=hostnet0,vhost=on,vhostfd=28
-device virtio-net-pci,netdev=hostnet0,id=net0,mac=52:54:00:7d:5a:da,bus=pci.0,addr=0x2
-chardev socket,id=charserial0,host=0.0.0.0,port=8888,telnet,server,nowait
-device isa-serial,chardev=charserial0,id=serial0
-device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x3 -msg timestamp=on
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment