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