This file contains 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 | |
# Script to download, configure, and install Ubuntu as a Xen domU | |
# Uses existing LVM Volume Group. Must be run as root/sudo. | |
# Based on instructions at https://help.ubuntu.com/community/Xen | |
# User Configurable Settings | |
NAME=ubuntu # name of Domain to create | |
VG=/dev/domU # existing volume group in which to create a logical volume | |
LV=$NAME # name of the new logical volume to create | |
LV_SIZE=5G # size of the new logical volume |