1 #
2 # /etc/xen-tools/xen-tools.conf
3 #
4 # Global configuration file for the scripts included with Xen-tools.
5 #
6 # Values may be set here so they don't need to be specified upon the
7 # command line.
8 #
9 # Steve
10 # --
11 #
15 #
16 ##
17 # Output directory for storing loopback images.
18 #
19 # If you choose to use loopback images, which are simple to manage but
20 # slower than LVM partitions, then specify a directory here and uncomment
21 # the line.
22 #
23 # New instances will be stored in subdirectories named after their
24 # hostnames.
25 #
26 ##
27 # dir = /home/xen
28 #
30 #
31 ##
32 #
33 # If you don't wish to use loopback images then you may specify an
34 # LVM volume group here instead
35 #
36 ##
37 # lvm = skx-vg
39 lvm = VGdomU
40 #
41 ##
42 #
43 # Installation method.
44 #
45 # There are four different methods you can use to install a new copy
46 # of Linux to use in your Xen guest domain:
47 #
48 # - Installation via the debootstrap command.
49 # - Installation via the rpmstrap command.
50 # - Installation by copying a directory containing a previous installation.
51 # - Installation by untarring a previously archived image.
52 #
53 # NOTE That if you use the "untar", or "copy" options you should ensure
54 # that the image you're left with matches the 'dist' setting later in
55 # this file.
56 #
57 # Note that you can only uncomment one method - they are mutually exclusive.
58 # However the command line installation method will allow you to override
59 # the choice you make here.
60 #
61 ##
62 #
63 # copy = /path/to/pristine/image
65 debootstrap = 1
67 # rpmstrap = 1
68 # tar = /path/to/img.tar
69 #
71 #
72 ##
73 # Command definitions.
74 ##
75 #
76 # The "debootstrap" and "rpmstrap" commands are hardwired, but if you
77 # wish to alter the commands invoked when using the "--copy" + "--tar"
78 # options you can adjust these two settings:
79 #
80 # --copy:
81 # copy-cmd = /bin/cp -a $src/* $dest
82 #
83 # --tar:
84 # tar-cmd = /bin/tar --numeric-owner -xvf $src
85 #
86 #
90 #
91 ##
92 # Disk and Sizing options.
93 ##
94 #
95 size = 1Gb # Disk image size.
96 memory = 128Mb # Memory size
97 swap = 1Gb # Swap size
98 # noswap = 1 # Don't use swap at all for the new system.
99 fs = ext3 # use the EXT3 filesystem for the disk image.
100 dist = etch # Default distribution to install.
101 image = sparse # Specify sparse vs. full disk images.
103 #
104 # Currently supported and tested distributions include:
105 #
106 # sid - Debian
107 # sarge - Debian
108 # etch - Debian
109 # dapper - Ubuntu
110 # centos4 - CentOS 4
111 # fedora-core4 - Fedora Core 4 (codname stentz)
112 #
116 ##
117 # Networking setup values.
118 ##
120 #
121 # Uncomment and adjust these network settings if you wish to give your
122 # new instances static IP addresses.
123 #
124 gateway = 192.168.1.1
125 netmask = 255.255.255.0
126 #
128 #
129 # Uncomment this if you wish the images to use DHCP
130 #
131 # dhcp = 1
134 ##
135 # Misc options
136 ##
138 #
139 # Uncomment the following line if you wish to disable the caching
140 # of downloaded .deb files when using debootstrap to install images.
141 #
142 # cache = no
143 #
145 #
146 # Uncomment the following line if you wish to interactively setup
147 # a new root password for images.
148 #
149 # passwd = 1
151 #
152 # If you'd like all accounts on your host system which are not present
153 # on the guest system to be copied over then uncomment the following line.
154 #
155 # accounts = 1
156 #
158 #
159 # Default kernel and ramdisk to use for the virtual servers
160 #
161 #kernel = /boot/vmlinuz-2.6.16-2-xen-686
162 #initrd = /boot/initrd.img-2.6.16-2-xen-686
164 kernel = /boot/vmlinuz-2.6.18-4-xen-686
165 initrd = /boot/initrd.img-2.6.18-4-xen-686
167 #
168 # The architecture to use when using debootstrap or rpmstrap.
169 #
170 # This is most useful on 64 bit host machines, for other systems it
171 # doesn't need to be used.
172 #
173 # arch=i386
174 #
176 #
177 # The default mirror for debootstrap which can be used to install
178 # Debian Sid, Sarge, and Etch.
179 #
180 mirror = http://ftp2.fr.debian.org/debian/
182 #
183 # A mirror suitable for use when installing the Dapper release of Ubuntu.
184 #
185 # mirror = http://gb.archive.ubuntu.com/ubuntu/
187 #
188 # Uncomment if you wish newly created images to boot once they've been
189 # created.
190 #
191 # boot = 1