Skip to content

Instantly share code, notes, and snippets.

@javierwilson
Created October 10, 2013 02:39
Show Gist options
  • Save javierwilson/6912184 to your computer and use it in GitHub Desktop.
Save javierwilson/6912184 to your computer and use it in GitHub Desktop.
Crea una máquina virtual con Fedora 19 (no gráficos!)
#!/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