From 6bf46ffd4cb8ea139bdd99ccf778f1375e260126 Mon Sep 17 00:00:00 2001 From: steve Date: Fri, 9 Jun 2006 18:19:46 +0000 Subject: [PATCH] 2006-06-09 18:19:46 by steve Added documentatoin updates. Describe 'rpmstrap', 'debootstrap', 'copy=x', & 'tar=x'. --- etc/xen-tools.conf | 73 ++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 61 insertions(+), 12 deletions(-) diff --git a/etc/xen-tools.conf b/etc/xen-tools.conf index b1f0767..830b5c5 100644 --- a/etc/xen-tools.conf +++ b/etc/xen-tools.conf @@ -6,31 +6,79 @@ # Values may be set here so they don't need to be used upon the # command line. # -# e.g. --hostname=bob becomes 'hostname = bob'. -# --fs=ext3 becomes 'fs = ext3'. # +# For example setting 'fs = ext3' in the file is equivilent to +# specifying '--fs=ext3' on the command line. # +# Steve +# -- # + +# ## -# Output directory. Images are stored beneath this directory, one -# subdirectory per hostname. +# Output directory for storing loopback images. +# +# If you choose to use loopback images, which are simple to manage but +# slower than LVM partitions, then specify a directory here and uncomment +# the line. +# +# New instances will be stored in subdirectories named after their +# hostnames. +# ## # dir = /home/xen -## -# If you don't wish to use loopback images, stored beneath the directory -# specified above with 'dir' then you may give an LVM volume name -# instead: + # ## -# volume = xen-volume +# +# If you don't wish to use loopback images then you may specify an +# LVM volume group here instead +# +## +# lvm = xen-volume + +# +## +# +# Installation method. +# +# There are four different methods you can use to install a new copy +# of Linux to use in your Xen guest domain: +# +# - Installation via debootstrap +# - Installation via rpmstrap +# - Installation by copying a previously installed image +# - Installation by untarring previously archived image. +# +# NOTE That if you use the "untar", or "copy" options you should ensure +# that the image you're left with matches the 'dist' setting later in +# this file. +# +# Here we'll specify the method to use. Note that you can only +# uncomment one method - they are mutually exclusive. +# +# +# Default: +debootstrap = 1 + +# copy = /path/to/pristine/image +# tar = /path/to/img.tar +# rpmstrap = 1 +# +## +# + + +# ## # Disk and Sizing options. ## -size = 2Gb # Disk image size. +# +size = 4Gb # Disk image size. memory = 128Mb # Memory size swap = 128Mb # Swap size fs = ext3 # use EXT3 filesystems @@ -43,7 +91,8 @@ dist = sarge # Default distribution to install. ## # -# Uncomment these if you wish to use a static address via the --ip flag. +# Uncomment and adjust these network settings if you wish to give your +# new instances static IP addresses. # # gateway = 192.168.1.1 # netmask = 255.255.255.0 @@ -59,7 +108,7 @@ dist = sarge # Default distribution to install. # # Uncomment the following line if you wish to disable the caching -# of downloaded .deb files. +# of downloaded .deb files when using debootstrap to install images. # # cache = no #