Skip to content

Instantly share code, notes, and snippets.

@fredmajor
Created November 19, 2017 19:26
Show Gist options
  • Save fredmajor/615a2c3c6325722da33fc0af80786d11 to your computer and use it in GitHub Desktop.
Save fredmajor/615a2c3c6325722da33fc0af80786d11 to your computer and use it in GitHub Desktop.
Creates KVM vm, visible in virt-manager (virsh)
virt-install \
--name ubuntu_server_containers \
--memory 2048 \
--vcpus 2 \
--cpu host \
--cdrom /home/fred/Downloads/ubuntu-17.10-server-amd64.iso \
--disk path=/blacknas/vm_linux_server/ubuntu2.qcow2,size=30 \
--network bridge=br_vms \
--os-type linux \
--virt-type kvm
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment