root / defaults @ d4d9f7c9
History | View | Annotate | Download (2.5 kB)
1 |
# ganeti-instance-image defaults file |
---|---|
2 |
|
3 |
# CDINSTALL: Only setup disks for a cd based install |
4 |
# Just setup the disks so that you can boot a machine up on a cd to create a |
5 |
# new image |
6 |
# CDINSTALL="no" |
7 |
|
8 |
# BOOT: Create a boot partition |
9 |
# BOOT=no |
10 |
|
11 |
# SWAP: Create a swap partition |
12 |
# SWAP=no |
13 |
|
14 |
# SWAP_SIZE: Manually set the size of the swap partition (in MB) |
15 |
# If left empty, it will set the size equal to the memory for the instance. |
16 |
# Make sure you have enough disk space for the swap partition! |
17 |
# SWAP_SIZE="" |
18 |
|
19 |
# FILESYSTEM: Set which filesystem to format the disks as. Currently only |
20 |
# supports ext3 or ext4. Default is ext3. |
21 |
# FILESYSTEM="ext3" |
22 |
|
23 |
# KERNEL_ARGS: Add additional kernel boot arguments to an instance. This only |
24 |
# works on instances booting a kernel from inside. |
25 |
# KERNEL_ARGS="" |
26 |
|
27 |
# IMAGE_NAME: Name of the image to use |
28 |
# Generally you use the name of the image with the version of the OS included. |
29 |
# Examples include: |
30 |
# centos-5.4 debian-4.0 fedora-12 |
31 |
# IMAGE_NAME="" |
32 |
|
33 |
# IMAGE_TYPE: Either qemu disk images, tarball, or dump based images. |
34 |
# Use either qemu, tarball, dump (default is dump) |
35 |
# IMAGE_TYPE="dump" |
36 |
|
37 |
# IMAGE_DIR: directory location for disk images |
38 |
# ( default is @localstatedir@/cache/ganeti-instance-image ) |
39 |
# IMAGE_DIR="" |
40 |
|
41 |
# NOMOUNT: Do not try to mount volume (if it is not a linux partition). Accepts |
42 |
# either 'yes' or 'no'. This option is useful for installing Windows images for |
43 |
# example. ( default is no ) |
44 |
# NOMOUNT="" |
45 |
|
46 |
# OVERLAY: overlay of files to be copied to the instance after OS installation. |
47 |
# This is useful for situations where you want to copy instance specific |
48 |
# configs such as resolv.conf. |
49 |
# OVERLAY="" |
50 |
|
51 |
# ARCH: Define the ARCH of the image to use |
52 |
# Use either x86 or x86_64 |
53 |
# ARCH="x86_64" |
54 |
|
55 |
# CUSTOMIZE_DIR: a directory containing scripts to customize the installation. |
56 |
# The scripts are executed using run-parts |
57 |
# By default /etc/ganeti/instance-image/hooks |
58 |
# CUSTOMIZE_DIR="/etc/ganeti/instance-image/hooks" |
59 |
|
60 |
# IMAGE_DEBUG: turn on debugging output for the scripts |
61 |
# IMAGE_DEBUG=0 |
62 |
|
63 |
# Paths for needed programs. Uncommend and change the variables below, if you |
64 |
# don't want to use the default one. |
65 |
# DUMP="dump" |
66 |
# RESTORE="restore" |
67 |
# LOSETUP="losetup" |
68 |
# KPARTX="kpartx" |
69 |
# SFDISK="sfdisk" |
70 |
# QEMU_IMG="qemu-img" |
71 |
# if [ "$windows_support" = "yes" ] ; then |
72 |
# RESIZE2FS="resize2fs" |
73 |
# NTFSCLONE="ntfsclone" |
74 |
# XMLSTARLET="xmlstarlet" |
75 |
# INSTALL_MBR="install-mbr" |
76 |
# fi |
77 |
# if [ "$windows_support" = "yes" ] ; then |
78 |
# PROGRESS_MONITOR="snf-progress-monitor" |
79 |
# fi |
80 |
|