Created
December 22, 2014 07:11
-
-
Save 328/9b228f0ad7e1ba1e55d4 to your computer and use it in GitHub Desktop.
virt-install.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
virt-install \ | |
--name ubuntu14-test-template \ | |
--vcpus 2 \ | |
--ram 1024 \ | |
--hvm \ | |
--virt-type kvm \ | |
--os-type=linux \ | |
--os-variant ubuntusaucy \ | |
--network bridge=br0 \ | |
--file /var/lib/libvirt/images/ubuntu14-test-template.img \ | |
--file-size 8 \ | |
--location /var/lib/libvirt/images/ubuntu-14.04-server-amd64.iso \ | |
--accelerate \ | |
--extra-args='console=tty0 console=ttyS0,115200n8' \ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment