Created
October 10, 2013 02:39
-
-
Save javierwilson/6912184 to your computer and use it in GitHub Desktop.
Crea una máquina virtual con Fedora 19 (no gráficos!)
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/bash | |
NAME=$1 | |
RAM=512 | |
DIR=/var/images | |
virt-install \ | |
--name $NAME \ | |
--ram 512 \ | |
--disk path=$DIR/$NAME.img,size=10 \ | |
--network network=default \ | |
--os-type=linux \ | |
--os-variant=fedora19 \ | |
--location=http://dl.fedoraproject.org/pub/fedora/linux/releases/19/Fedora/x86_64/os/ \ | |
--nographics \ | |
--extra-args="console=tty0 console=ttyS0,115200" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment