Révision 18

trunk/shell/c-i-a-b.common (revision 18)
1 1
# ST - 2012-03-09
2 2
# Constants that no one should not change.
3
CONST_NULL_DISK_SIZE=0G
3
CONST_NULL_DISK_SIZE=0G # For several configuration files.
4 4
#
5
# Constant that may change with another Xen version.
6
CONST_DOM0_CPUS_ALL="(dom0-cpus 0)"
7
CONST_DOM0_NAME=Domain-0
8
CONST_NOSWAP="noswap = 1" # For /etc/xen-tools/xen-tools.conf.
9
CONST_NETWORK_SCRIPT_KEYWORD=network-script # For /etc/xen/xend-config.sxp.
10
#
5 11
# Common user defined configuration variables
6 12
#
13
CLUSTER_ARCH=amd64
14
CLUSTER_BRIDGE_SCRIPT=network-bridge-internal
15
CLUSTER_BRIDGE_CLAUSE="($CONST_NETWORK_SCRIPT_KEYWORD $CLUSTER_BRIDGE_SCRIPT)"
16
CLUSTER_IMAGE=full
7 17
CLUSTER_DOMAIN_NAME=ciab.lip.ens-lyon.fr
18
CLUSTER_NOSWAP="$CONST_NOSWAP"
8 19
CLUSTER_STATIC_NETWORK_PREFIX="192.168.1"
20
CLUSTER_SWAP_SIZE=$CONST_NULL_DISK_SIZE
9 21
COMPUTE_NODE_BRIDGE=internal
10 22
COMPUTE_NODE_CPUS_FILE=compute-nodes-cpus
11 23
COMPUTE_NODE_DISK_MOUNT_POINT=/mnt/compute-node-system-disk
......
20 32
COMPUTE_NODE_NAME_PREFIX="compute-node-"
21 33
COMPUTE_NODE_STATIC_NETWORK_PREFIX=$CLUSTER_STATIC_NETWORK_PREFIX
22 34
DHCP_HOSTSFILE_BASENAME=dhcp-hostsfile
35
DOM0_CPUS_LIST="0 4"
36
DOM0_CPUS_NUM=2
37
DOM0_CPUS_CLAUSE="(dom0-cpus $DOM0_CPUS_NUM)"
23 38
FRONT_END_HOME_DISK_SIZE=512G
24 39
FRONT_END_INTERFACES_TEMPLATE=interfaces.front-end
25 40
FRONT_END_HOME_VOLUME_GROUP=vg_slow
trunk/shell/templates/etc/xen/front-end.cfg (revision 18)
1 1
#
2
# Template file for the Xen instance compute-node.
2
# Configuration file for the Xen instance skanda.lip.ens-lyon.fr, created
3
# by xen-tools 4.2 on Mon Feb 28 17:41:00 2011.
3 4
#
4 5

  
5 6
#
6 7
#  Kernel + memory size
7 8
#
8
kernel      = '__COMPUTE_NODE_KERNEL__'
9
ramdisk     = '__COMPUTE_NODE_RAMDISK__'
9
kernel      = '/boot/vmlinuz-2.6.32-5-xen-amd64'
10
ramdisk     = '/boot/initrd.img-2.6.32-5-xen-amd64'
10 11

  
11
memory      = '__COMPUTE_NODE_MEMORY__'
12
vcpus       = '4'
13
cpus        = '1,9,5,13'
14
memory      = '3072'
12 15

  
13
# (V)CPU management
14

  
15
vcpus       = '__COMPUTE_NODE_VCPUS__'
16
cpus        = '__COMPUTE_NODE_CPUS__'
17

  
18 16
#
19 17
#  Disk device(s).
20 18
#
21 19
root        = '/dev/xvda2 ro'
22 20
disk        = [
23
                  'phy:__COMPUTE_NODE_SYSTEM_DISK__,xvda2,w',
24
                  'phy:__COMPUTE_NODE_SWAP_DISK__,xvda1,w',
21
                  'phy:/dev/vg_guests/users-home-disk,xvda3,w',
22
                  'phy:/dev/vg_guests/skanda.lip.ens-lyon.fr-disk,xvda2,w',
23
                  'phy:/dev/vg_guests/skanda.lip.ens-lyon.fr-swap,xvda1,w',
25 24
              ]
26 25

  
27 26

  
......
33 32
#
34 33
#  Hostname
35 34
#
36
name        = '__COMPUTE_NODE_HOST_NAME__'
35
name        = 'skanda.lip.ens-lyon.fr'
37 36

  
38 37
#
39 38
#  Networking
40 39
#
41
vif         = [ 'ip=__COMPUTE_NODE_IP__,mac=__COMPUTE_NODE_MAC__,bridge=__COMPUTE_NODE_BRIDGE__', ]
40
vif         = [ 'ip=140.77.13.40,mac=00:16:3E:33:A3:F1', 'ip=192.168.1.251,mac=00:16:3E:33:A3:F2,bridge=internal' ] 
42 41

  
43 42
#
44 43
#  Behaviour
trunk/shell/templates/etc/xen/xend-config.sxp (revision 18)
1
# -*- sh -*-
2

  
3
#
4
# Xend configuration file.
5
#
6

  
7
# This example configuration is appropriate for an installation that 
8
# utilizes a bridged network configuration. Access to xend via http
9
# is disabled.  
10

  
11
# Commented out entries show the default for that entry, unless otherwise
12
# specified.
13

  
14
#(logfile /var/log/xen/xend.log)
15
#(loglevel DEBUG)
16

  
17
# Uncomment the line below.  Set the value to flask, acm, or dummy to 
18
# select a security module.
19

  
20
#(xsm_module_name dummy)
21

  
22
# The Xen-API server configuration.
23
#
24
# This value configures the ports, interfaces, and access controls for the
25
# Xen-API server.  Each entry in the list starts with either unix, a port
26
# number, or an address:port pair.  If this is "unix", then a UDP socket is
27
# opened, and this entry applies to that.  If it is a port, then Xend will
28
# listen on all interfaces on that TCP port, and if it is an address:port
29
# pair, then Xend will listen on the specified port, using the interface with
30
# the specified address.
31
#
32
# The subsequent string configures the user-based access control for the
33
# listener in question.  This can be one of "none" or "pam", indicating either
34
# that users should be allowed access unconditionally, or that the local
35
# Pluggable Authentication Modules configuration should be used.  If this
36
# string is missing or empty, then "pam" is used.
37
#
38
# The final string gives the host-based access control for that listener. If
39
# this is missing or empty, then all connections are accepted.  Otherwise,
40
# this should be a space-separated sequence of regular expressions; any host
41
# with a fully-qualified domain name or an IP address that matches one of
42
# these regular expressions will be accepted.
43
#
44
# Example: listen on TCP port 9363 on all interfaces, accepting connections
45
# only from machines in example.com or localhost, and allow access through
46
# the unix domain socket unconditionally:
47
#
48
#   (xen-api-server ((9363 pam '^localhost$ example\\.com$')
49
#                    (unix none)))
50
#
51
# Optionally, the TCP Xen-API server can use SSL by specifying the private
52
# key and certificate location:
53
#
54
#                    (9367 pam '' xen-api.key xen-api.crt)
55
#
56
# Default:
57
#   (xen-api-server ((unix)))
58

  
59

  
60
#(xend-http-server no)
61
#(xend-unix-server no)
62
#(xend-tcp-xmlrpc-server no)
63
#(xend-unix-xmlrpc-server yes)
64
#(xend-relocation-server no)
65
#(xend-relocation-ssl-server no)
66
#(xend-udev-event-server no)
67

  
68
#(xend-unix-path /var/lib/xend/xend-socket)
69

  
70

  
71
# Address and port xend should use for the legacy TCP XMLRPC interface, 
72
# if xend-tcp-xmlrpc-server is set.
73
#(xend-tcp-xmlrpc-server-address 'localhost')
74
#(xend-tcp-xmlrpc-server-port 8006)
75

  
76
# SSL key and certificate to use for the legacy TCP XMLRPC interface.
77
# Setting these will mean that this port serves only SSL connections as
78
# opposed to plaintext ones.
79
#(xend-tcp-xmlrpc-server-ssl-key-file  xmlrpc.key)
80
#(xend-tcp-xmlrpc-server-ssl-cert-file xmlrpc.crt)
81

  
82

  
83
# Port xend should use for the HTTP interface, if xend-http-server is set.
84
#(xend-port            8000)
85

  
86
# Port xend should use for the relocation interface, if xend-relocation-server
87
# is set.
88
#(xend-relocation-port 8002)
89

  
90
# Port xend should use for the ssl relocation interface, if
91
# xend-relocation-ssl-server is set.
92
#(xend-relocation-ssl-port 8003)
93

  
94
# SSL key and certificate to use for the ssl relocation interface, if
95
# xend-relocation-ssl-server is set.
96
#(xend-relocation-server-ssl-key-file   xmlrpc.key)
97
#(xend-relocation-server-ssl-cert-file  xmlrpc.crt)
98

  
99
# Whether to use ssl as default when relocating.
100
#(xend-relocation-ssl no)
101

  
102
# Address xend should listen on for HTTP connections, if xend-http-server is
103
# set.
104
# Specifying 'localhost' prevents remote connections.
105
# Specifying the empty string '' (the default) allows all connections.
106
#(xend-address '')
107
#(xend-address localhost)
108

  
109
# Address xend should listen on for relocation-socket connections, if
110
# xend-relocation-server is set.
111
# Meaning and default as for xend-address above.
112
#(xend-relocation-address '')
113

  
114
# The hosts allowed to talk to the relocation port.  If this is empty (the
115
# default), then all connections are allowed (assuming that the connection
116
# arrives on a port and interface on which we are listening; see
117
# xend-relocation-port and xend-relocation-address above).  Otherwise, this
118
# should be a space-separated sequence of regular expressions.  Any host with
119
# a fully-qualified domain name or an IP address that matches one of these
120
# regular expressions will be accepted.
121
#
122
# For example:
123
#  (xend-relocation-hosts-allow '^localhost$ ^.*\\.example\\.org$')
124
#
125
#(xend-relocation-hosts-allow '')
126

  
127
# The limit (in kilobytes) on the size of the console buffer
128
#(console-limit 1024)
129

  
130
##
131
# NOTE:
132
# Please read /usr/share/doc/xen-utils-common/README.Debian for Debian specific
133
# informations about the network setup.
134

  
135
##
136
# To bridge network traffic, like this:
137
#
138
# dom0: ----------------- bridge -> real eth0 -> the network
139
#                            |
140
# domU: fake eth0 -> vifN.0 -+
141
#
142
# use
143
#
144
# (network-script network-bridge)
145
# Use a modified script to create an internal bridge. ST-2012-03-06.
146
__CLUSTER_BRIDGE_CLAUSE__
147
# Your default ethernet device is used as the outgoing interface, by default. 
148
# To use a different one (e.g. eth1) use
149
#
150
# (network-script 'network-bridge netdev=eth1')
151
#
152
# The bridge is named xenbr0, by default.  To rename the bridge, use
153
#
154
# (network-script 'network-bridge bridge=<name>')
155
#
156
# It is possible to use the network-bridge script in more complicated
157
# scenarios, such as having two outgoing interfaces, with two bridges, and
158
# two fake interfaces per guest domain.  To do things like this, write
159
# yourself a wrapper script, and call network-bridge from it, as appropriate.
160
#
161

  
162
# The script used to control virtual interfaces.  This can be overridden on a
163
# per-vif basis when creating a domain or a configuring a new vif.  The
164
# vif-bridge script is designed for use with the network-bridge script, or
165
# similar configurations.
166
#
167
# If you have overridden the bridge name using
168
# (network-script 'network-bridge bridge=<name>') then you may wish to do the
169
# same here.  The bridge name can also be set when creating a domain or
170
# configuring a new vif, but a value specified here would act as a default.
171
#
172
# If you are using only one bridge, the vif-bridge script will discover that,
173
# so there is no need to specify it explicitly.
174
#
175
(vif-script vif-bridge)
176

  
177

  
178
## Use the following if network traffic is routed, as an alternative to the
179
# settings for bridged networking given above.
180
#(network-script network-route)
181
#(vif-script     vif-route)
182

  
183

  
184
## Use the following if network traffic is routed with NAT, as an alternative
185
# to the settings for bridged networking given above.
186
#(network-script network-nat)
187
#(vif-script     vif-nat)
188

  
189
# dom0-min-mem is the lowest permissible memory level (in MB) for dom0.
190
# This is a minimum both for auto-ballooning (as enabled by
191
# enable-dom0-ballooning below) and for xm mem-set when applied to dom0.
192
(dom0-min-mem 1024)
193

  
194
# Whether to enable auto-ballooning of dom0 to allow domUs to be created.
195
# If enable-dom0-ballooning = no, dom0 will never balloon out.
196
# ST 2012-03-06: ballooning is disabled since memory of dom0 is set
197
# in GRUB.
198
(enable-dom0-ballooning no)
199

  
200
# 32-bit paravirtual domains can only consume physical
201
# memory below 168GB. On systems with memory beyond that address,
202
# they'll be confined to memory below 128GB.
203
# Using total_available_memory (in GB) to specify the amount of memory reserved
204
# in the memory pool exclusively for 32-bit paravirtual domains.
205
# Additionally you should use dom0_mem = <-Value> as a parameter in 
206
# xen kernel to reserve the memory for 32-bit paravirtual domains, default 
207
# is "0" (0GB).  
208
(total_available_memory 0) 
209

  
210
# In SMP system, dom0 will use dom0-cpus # of CPUS
211
# If dom0-cpus = 0, dom0 will take all cpus available
212
__DOM0_CPUS_CLAUSE__
213

  
214
# Whether to enable core-dumps when domains crash.
215
#(enable-dump no)
216

  
217
# The tool used for initiating virtual TPM migration
218
#(external-migration-tool '')
219

  
220
# The interface for VNC servers to listen on. Defaults
221
# to 127.0.0.1  To restore old 'listen everywhere' behaviour
222
# set this to 0.0.0.0
223
#(vnc-listen '127.0.0.1')
224

  
225
# The default password for VNC console on HVM domain.
226
# Empty string is no authentication.
227
(vncpasswd '')
228

  
229
# The VNC server can be told to negotiate a TLS session
230
# to encryption all traffic, and provide x509 cert to
231
# clients enabling them to verify server identity. The
232
# GTK-VNC widget, virt-viewer, virt-manager and VeNCrypt
233
# all support the VNC extension for TLS used in QEMU. The
234
# TightVNC/RealVNC/UltraVNC clients do not.
235
#
236
# To enable this create x509 certificates / keys in the
237
# directory ${XEN_CONFIG_DIR} + vnc
238
#
239
#  ca-cert.pem       - The CA certificate
240
#  server-cert.pem   - The Server certificate signed by the CA
241
#  server-key.pem    - The server private key
242
#
243
# and then uncomment this next line
244
# (vnc-tls 1)
245

  
246
# The certificate dir can be pointed elsewhere..
247
#
248
# (vnc-x509-cert-dir vnc)
249

  
250
# The server can be told to request & validate an x509
251
# certificate from the client. Only clients with a cert
252
# signed by the trusted CA will be able to connect. This
253
# is more secure the password auth alone. Passwd auth can
254
# used at the same time if desired. To enable client cert
255
# checking uncomment this:
256
#
257
# (vnc-x509-verify 1)
258

  
259
# The default keymap to use for the VM's virtual keyboard
260
# when not specififed in VM's configuration
261
#(keymap 'en-us')
262

  
263
# Script to run when the label of a resource has changed.
264
#(resource-label-change-script '')
265

  
266
# Rotation count of qemu-dm log file.
267
#(qemu-dm-logrotate-count 10)
268

  
269
# Path where persistent domain configuration is stored.
270
# Default is /var/lib/xend/domains/
271
#(xend-domains-path /var/lib/xend/domains)
272

  
273
# Number of seconds xend will wait for device creation and
274
# destruction
275
#(device-create-timeout 100)
276
#(device-destroy-timeout 100)
277

  
278
# When assigning device to HVM guest, we use the strict check for HVM guest by
279
# default. (For PV guest, we use loose check automatically if necessary.)
280
# When we assign device to HVM guest, if we meet with the co-assignment
281
# issues or the ACS issue, we could try changing the option to 'no' -- however,
282
# we have to realize this may incur security issue and we can't make sure the
283
# device assignment could really work properly even after we do this.
284
#(pci-passthrough-strict-check yes)
trunk/shell/templates/etc/xen-tools/xen-tools.conf (revision 18)
1
##
2
#  /etc/xen-tools/xen-tools.conf
3
##
4
#
5
#  This is the global configuration file for the scripts included
6
# within the xen-tools package.
7
#
8
#  For more details please see:
9
#
10
#        http://xen-tools.org/
11
#
12
##
13

  
14

  
15
##
16
#
17
# File Format
18
# -----------
19
#
20
#  Anything following a '#' character is ignored as a comment.
21
#
22
#  Otherwise the format of this file "key = value".  The value of
23
# any keys in this file may be constructed via the output of a command.
24
#
25
#  For example:
26
#
27
#         kernel = /boot/vmlinuz-`uname -r`
28
#
29
##
30

  
31

  
32

  
33
#
34
##
35
#  Output directory for storing loopback images.
36
#
37
#  If you choose to use loopback images, which are simple to manage but
38
# slower than LVM partitions, then specify a directory here and uncomment
39
# the line.
40
#
41
#  New instances will be stored in subdirectories named after their
42
# hostnames.
43
# 
44
##
45
# dir = /home/xen
46
#
47

  
48
#
49
##
50
#
51
# If you don't wish to use loopback images then you may specify an 
52
# LVM volume group here instead
53
#
54
##
55
# lvm = vg0
56

  
57

  
58
#
59
##
60
#
61
#  Installation method.
62
#
63
#  There are four distinct methods which you may to install a new copy
64
# of Linux to use in your Xen guest domain:
65
#
66
#   - Installation via the debootstrap command.
67
#   - Installation via the rpmstrap command.
68
#   - Installation via the rinse command.
69
#   - Installation by copying a directory containing a previous installation.
70
#   - Installation by untarring a previously archived image.
71
#
72
#  NOTE That if you use the "untar", or "copy" options you should ensure
73
# that the image you're left with matches the 'dist' setting later in
74
# this file.
75
#
76
#
77
##
78
#
79
# 
80
# install-method = [ debootstrap | rinse | rpmstrap | copy | tar ]
81
#
82
#
83
install-method = debootstrap
84

  
85
#
86
# If you're using the "copy", or "tar" installation methods you must
87
# need to specify the source location to copy from, or the source
88
# .tar file to unpack.
89
#
90
# You may specify that with a line such as:
91
#
92
# install-source = /path/to/copy
93
# install-source = /some/path/img.tar
94
#
95
#
96

  
97
#
98
##
99
#  Command definitions.
100
##
101
#
102
# The "rinse", and "rpmstrap" commands are hardwired into 
103
# the script, but if you wish to modify the commands which are executed
104
# when installing new systems by a "copy", "debootstrap", or "tar" method
105
# you can do so here:
106
#
107
# (This allows you to install from a .tar.bz file, rather than a plain
108
# tar file, use cdebootstrap, etc.)
109
#
110
# install-method = copy:
111
# copy-cmd = /bin/cp -a $src/* $dest
112
#
113
# install-method = debootstrap:
114
# debootstrap-cmd = /usr/sbin/debootstrap
115
#
116
# install-method = tar:
117
# tar-cmd  = /bin/tar --numeric-owner -xvf $src
118
#
119
#
120

  
121

  
122

  
123
#
124
##
125
#  Disk and Sizing options.
126
##
127
#
128
size   = 4Gb      # Disk image size.
129
memory = 128Mb    # Memory size
130
swap   = __CLUSTER_SWAP_SIZE__    # Swap size
131
__CLUSTER_NOSWAP__      # Don't use swap at all for the new system.
132
fs     = ext3     # use the EXT3 filesystem for the disk image.
133
dist   = `xt-guess-suite-and-mirror --suite` # Default distribution to install.
134
image  = __CLUSTER_IMAGE__   # Specify sparse vs. full disk images.
135

  
136
#
137
#  See the README for currently supported and tested distributions. You can
138
# either find it in the root directory of the unpacked source or, on Debian
139
# and Ubuntu based systems, in /usr/share/doc/xen-tools/README.gz
140
#
141

  
142

  
143

  
144
##
145
# Networking setup values.
146
##
147

  
148
#
149
# Uncomment and adjust these network settings if you wish to give your
150
# new instances static IP addresses.
151
#
152
# gateway    = 192.168.1.1
153
# netmask    = 255.255.255.0
154
# broadcast  = 192.168.1.255
155
#
156
# Uncomment this if you wish the images to use DHCP
157
#
158
# dhcp = 1
159

  
160
#
161
# Uncomment and adjust this setting if you wish to give your new
162
# instances a specific nameserver.
163
#
164
# By default, nameserver is not set, and Dom0's /etc/resolv.conf will
165
# be copied to guest.
166
#
167
# nameserver = 192.168.1.1
168
#
169

  
170
#
171
# Setup bridge name for host vif. Usefull if you use bridged networking
172
# for guests.
173
#
174
# bridge = xendmz
175
#
176

  
177
##
178
# Misc options
179
##
180

  
181
#
182
# Uncomment the following line if you wish to disable the caching
183
# of downloaded .deb files when using debootstrap to install images.
184
#
185
# cache = no
186
#
187

  
188
#
189
# The default cachedir is, /var/cache/apt/archives/, however if it
190
# does not exist it will default to /var/cache/xen-tools/archives/
191
# Uncomment the line below to set it to something else.
192
#
193
# cachedir = /var/cache/xen-tools/archives/
194
#
195

  
196
#
197
# Uncomment the following line if you wish not to generate a new root
198
# password for the new guest.
199
#
200
# genpass = 0
201
#
202

  
203
#
204
# You can also change the password length by uncommenting and
205
# changing the line below
206
#
207
# genpass_len = 8
208
#
209

  
210
#
211
# You can yet change the hashing method to encrypt the generated
212
# password by changing the line below.
213
# Valid values : md5, sha256 and sha512.
214
#
215
# hash_method = sha256
216
#
217

  
218
#
219
# Uncomment the following line if you wish to interactively setup a
220
# new root password for images.
221
#
222
# passwd = 1
223
#
224

  
225
#
226
# If you'd like all accounts on your host system which are not present
227
# on the guest system to be copied over then uncomment the following line.
228
#
229
# accounts = 1
230
#
231

  
232
#
233
# Default kernel and ramdisk to use for the virtual servers
234
#
235
kernel = /boot/vmlinuz-`uname -r`
236
initrd = /boot/initrd.img-`uname -r`
237

  
238
#
239
#  The architecture to use when using debootstrap, rinse, or rpmstrap.
240
#
241
#  This is most useful on 64 bit host machines, for other systems it
242
# doesn't need to be used.
243
#
244
arch = __CLUSTER_ARCH__
245

  
246

  
247
#
248
# The default mirror for debootstrap to install Debian-derived distributions
249
#
250
mirror = `xt-guess-suite-and-mirror --mirror`
251

  
252
#
253
# A mirror suitable for use when installing the Dapper release of Ubuntu.
254
#
255
# mirror = http://gb.archive.ubuntu.com/ubuntu/
256

  
257
#
258
#  If you like you could use per-distribution mirrors, which will
259
# be more useful if you're working in an environment where you want
260
# to regularly use multiple distributions. The following are the
261
# default values used (for Debian the GeoIP feature is used, see
262
# http://wiki.debian.org/DebianGeoMirror):
263
#
264
# mirror_sarge = http://archive.debian.org/debian
265
# mirror_etch = http://archive.debian.org/debian
266
# mirror_lenny = http://cdn.debian.net/debian
267
# mirror_squeeze = http://cdn.debian.net/debian
268
# mirror_wheezy = http://cdn.debian.net/debian
269
# mirror_sid = http://cdn.debian.net/debian
270
# mirror_dapper = http://archive.ubuntu.com/ubuntu
271
# mirror_edgy = http://old-releases.ubuntu.com/ubuntu
272
# mirror_feisty = http://old-releases.ubuntu.com/ubuntu
273
# mirror_gutsy = http://old-releases.ubuntu.com/ubuntu
274
# mirror_hardy = http://archive.ubuntu.com/ubuntu
275
# mirror_intrepid = http://old-releases.ubuntu.com/ubuntu
276
# mirror_karmic = http://archive.ubuntu.com/ubuntu
277
# mirror_lucid = http://archive.ubuntu.com/ubuntu
278
# mirror_maverick = http://archive.ubuntu.com/ubuntu
279
# mirror_natty = http://archive.ubuntu.com/ubuntu
280

  
281

  
282
#
283
#  Filesystem options for the different filesystems we support.
284
#
285
ext3_options     = noatime,nodiratime,errors=remount-ro
286
ext2_options     = noatime,nodiratime,errors=remount-ro
287
xfs_options      = defaults
288
reiserfs_options = defaults
289
btrfs_options    = defaults
290

  
291
#
292
#  Uncomment if you wish newly created images to boot once they've been
293
# created.
294
#
295
# boot = 1
296

  
297

  
298
#
299
#  If you're using the lenny or later version of the Xen guest kernel you will
300
# need to make sure that you use 'hvc0' for the guest serial device,
301
# and 'xvdX' instead of 'sdX' for serial devices.
302
#
303
#  You may specify the things to use here:
304
#
305
# serial_device = hvc0 #default
306
# serial_device = tty1
307
#
308
# disk_device = xvda #default
309
# disk_device = sda
310
#
311

  
312

  
313
#
314
#  Here we specify the output directory which the Xen configuration
315
# files will be written to, and the suffix to give them.
316
#
317
#  Historically xen-tools have created configuration files in /etc/xen,
318
# and given each file the name $hostname.cfg.  If you want to change
319
# that behaviour you may do so here.
320
#
321
#
322
# output    = /etc/xen
323
# extension = .cfg
324
#
325

  
326
#
327
#  Here you can control weather your dom0's /etc/hosts file should be
328
# appended with the new guest, and also if your dom0's /etc/hosts file
329
# should be copied to the new guest.
330
#
331
#  Change the following options to 1 to set them
332
# nohosts - don't touch the dom0's /etc/hosts file
333
# copyhosts - copy the dom0's /etc/hosts to the guest
334
#
335
#  by default new guests ARE added to the dom0's /etc/hosts file
336
# nohosts = 0 # default
337
#
338
#  by default the dom0's /etc/hosts IS NOT copied
339
# copyhosts = 0 # default
340
#
341

  

Formats disponibles : Unified diff