Skip to content

Instantly share code, notes, and snippets.

@vitor-caetano
Created January 23, 2017 13:29
Show Gist options
  • Save vitor-caetano/8689e2e9ecc676653407dbffa5360067 to your computer and use it in GitHub Desktop.
Save vitor-caetano/8689e2e9ecc676653407dbffa5360067 to your computer and use it in GitHub Desktop.
virt-install
virt-install --connect qemu:///session \
--name ws2012 --ram 2048 --vcpus 2 \
--network network=default,model=virtio \
--disk path=ws2012.qcow2,format=qcow2,device=disk,bus=virtio \
--cdrom /opt/Windows12.ISO \
--disk path=/opt/virtio-win.iso,device=cdrom \
--vnc --os-type windows --os-variant win2k8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment