root / defaults @ df24aef4
History | View | Annotate | Download (2 kB)
1 | fcce5224 | Lance Albertson | # ganeti-instance-image defaults file |
---|---|---|---|
2 | 79224631 | Lance Albertson | |
3 | fcce5224 | Lance Albertson | # CDINSTALL: Only setup disks for a cd based install |
4 | fcce5224 | Lance Albertson | # Just setup the disks so that you can boot a machine up on a cd to create a |
5 | fcce5224 | Lance Albertson | # new image |
6 | 3a58e5d7 | Lance Albertson | # CDINSTALL="no" |
7 | 79224631 | Lance Albertson | |
8 | df24aef4 | Nikos Skalkotos | # BOOT: Create a boot partition |
9 | df24aef4 | Nikos Skalkotos | # BOOT=no |
10 | df24aef4 | Nikos Skalkotos | |
11 | e21b8802 | Lance Albertson | # SWAP: Create a swap partition |
12 | e21b8802 | Lance Albertson | # SWAP=yes |
13 | e21b8802 | Lance Albertson | |
14 | fd786991 | Lance Albertson | # SWAP_SIZE: Manually set the size of the swap partition (in MB) |
15 | fd786991 | Lance Albertson | # If left empty, it will set the size equal to the memory for the instance. |
16 | fd786991 | Lance Albertson | # Make sure you have enough disk space for the swap partition! |
17 | fd786991 | Lance Albertson | # SWAP_SIZE="" |
18 | fd786991 | Lance Albertson | |
19 | 4c96e490 | Lance Albertson | # FILESYSTEM: Set which filesystem to format the disks as. Currently only |
20 | 4c96e490 | Lance Albertson | # supports ext3 or ext4. Default is ext3. |
21 | 4c96e490 | Lance Albertson | # FILESYSTEM="ext3" |
22 | 4c96e490 | Lance Albertson | |
23 | c40fd6ae | Lance Albertson | # KERNEL_ARGS: Add additional kernel boot arguments to an instance. This only |
24 | c40fd6ae | Lance Albertson | # works on instances booting a kernel from inside. |
25 | c40fd6ae | Lance Albertson | # KERNEL_ARGS="" |
26 | c40fd6ae | Lance Albertson | |
27 | 134c11c3 | Lance Albertson | # IMAGE_NAME: Name of the image to use |
28 | 134c11c3 | Lance Albertson | # Generally you use the name of the image with the version of the OS included. |
29 | 134c11c3 | Lance Albertson | # Examples include: |
30 | 134c11c3 | Lance Albertson | # centos-5.4 debian-4.0 fedora-12 |
31 | 134c11c3 | Lance Albertson | # IMAGE_NAME="" |
32 | 134c11c3 | Lance Albertson | |
33 | 3a58e5d7 | Lance Albertson | # IMAGE_TYPE: Either qemu disk images, tarball, or dump based images. |
34 | be751693 | Lance Albertson | # Use either qemu, tarball, dump (default is dump) |
35 | be751693 | Lance Albertson | # IMAGE_TYPE="dump" |
36 | b05b1ab6 | Lance Albertson | |
37 | 2e0988ec | Lance Albertson | # IMAGE_DIR: directory location for disk images |
38 | 3a58e5d7 | Lance Albertson | # ( default is @localstatedir@/cache/ganeti-instance-image ) |
39 | 2e0988ec | Lance Albertson | # IMAGE_DIR="" |
40 | 2e0988ec | Lance Albertson | |
41 | 8727c57d | Lance Albertson | # NOMOUNT: Do not try to mount volume (if it is not a linux partition). Accepts |
42 | 8727c57d | Lance Albertson | # either 'yes' or 'no'. This option is useful for installing Windows images for |
43 | 8727c57d | Lance Albertson | # example. ( default is no ) |
44 | 8727c57d | Lance Albertson | # NOMOUNT="" |
45 | 8727c57d | Lance Albertson | |
46 | 84472880 | Lance Albertson | # OVERLAY: overlay of files to be copied to the instance after OS installation. |
47 | 84472880 | Lance Albertson | # This is useful for situations where you want to copy instance specific |
48 | 84472880 | Lance Albertson | # configs such as resolv.conf. |
49 | 84472880 | Lance Albertson | # OVERLAY="" |
50 | 84472880 | Lance Albertson | |
51 | 134c11c3 | Lance Albertson | # ARCH: Define the ARCH of the image to use |
52 | 134c11c3 | Lance Albertson | # Use either x86 or x86_64 |
53 | 134c11c3 | Lance Albertson | # ARCH="" |
54 | 134c11c3 | Lance Albertson | |
55 | 79224631 | Lance Albertson | # CUSTOMIZE_DIR: a directory containing scripts to customize the installation. |
56 | 79224631 | Lance Albertson | # The scripts are executed using run-parts |
57 | 549118f0 | Lance Albertson | # By default /etc/ganeti/instance-image/hooks |
58 | 549118f0 | Lance Albertson | # CUSTOMIZE_DIR="/etc/ganeti/instance-image/hooks" |
59 | 611fa6b0 | Lance Albertson | |
60 | 611fa6b0 | Lance Albertson | # IMAGE_DEBUG: turn on debugging output for the scripts |
61 | 611fa6b0 | Lance Albertson | # IMAGE_DEBUG=0 |