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