Make partition alignment configurable
[ext/instance-debootstrap.git] / defaults
1 # ganeti-instance-debootstrap defaults file
2
3 # if you want to change from the default of installing debian stable
4 # on the next instance, customize this file before the instance
5 # installation
6
7 # PROXY: if non-null, use this as an http-proxy in order to speed up
8 # non-cached installs; not that if not set, debootstrap might still
9 # use a system-wide proxy setting if it is exported in the
10 # ganeti-noded daemon environment
11 # PROXY="http://proxy.example.com:3128/"
12
13 # MIRROR: do not customize MIRROR if you want to be able to install
14 # both debian and ubuntu, since they have different defaults; or
15 # customize it before each install
16 # MIRROR="http://ftp.debian.org/debian"
17
18 # ARCH: define ARCH only if you want a different architecture than the
19 # current one; the known use case is to install a 32-bit instance on a
20 # 64-bit node; choose either "i386" or "amd64":
21 # ARCH="i386"
22
23 # SUITE: change suite to any of the ones supported by deboostrap; this
24 # could be unstable, etch, etc.:
25 # SUITE="wheezy"
26
27 # EXTRA_PKGS: depending on the suite and architecture you are using, different
28 # extra packages are needed for different hypervisors. For example:
29 #
30 # Xen, for squeeze i386:
31 # EXTRA_PKGS="linux-image-xen-686,libc6-xen"
32 # Xen, for wheezy i386:
33 # EXTRA_PKGS="libc6-xen"
34 # Xen, for squeeze amd64:
35 # EXTRA_PKGS="linux-image-xen-amd64"
36 # KVM, for squeeze/wheezy i386:
37 # EXTRA_PKGS="acpi-support-base,console-tools,udev,linux-image-686"
38 # KVM, for squeeze/wheezy amd64:
39 # EXTRA_PKGS="acpi-support-base,console-tools,udev,linux-image-amd64"
40 #
41
42 # CUSTOMIZE_DIR: a directory containing scripts to customize the installation.
43 # The scripts are executed using run-parts
44 # By default /etc/ganeti/instance-debootstrap/hooks
45 # CUSTOMIZE_DIR="/etc/ganeti/instance-debootstrap/hooks"
46
47 # GENERATE_CACHE: if set to yes (the default), create new cache files;
48 # any other value will disable the generation of cache files (but they
49 # will still be used if they exist)
50 GENERATE_CACHE="yes"
51
52 # CLEAN_CACHE: should be set to the number of days after which to
53 # clean the cache; the default is 14 (two weeks); to disable cache
54 # cleaning, set it to an empty value ("")
55 CLEAN_CACHE="14"
56
57 # PARTITION_STYLE: whether and how the target device should be partitioned.
58 # Allowed values:
59 # 'none': just format the device, but don't partition it
60 # 'msdos': install an msdos partition table on the device, with a single
61 #          partition on it
62 # (more styles may be added in the future)
63 # The default is "msdos" from ganeti 2.0 onwards, but none if installing under
64 # Ganeti 1.2 (os api version 5)
65 # PARTITION_STYLE="none"
66
67 # PARTITION_ALIGNMENT: the alignment of the partitions in sectors
68 # (512B); this defaults to 1MiB to give grub enough space for
69 # embedding and for better alignment with modern media (HDDs and
70 # SSDs), feel free to increase it if your media has even bigger
71 # allocation blocks
72 # PARTITION_ALIGNMENT=2048