root / snf-image-host / defaults @ edf5dd1a
History | View | Annotate | Download (1.7 kB)
1 |
# snf-image defaults file |
---|---|
2 |
|
3 |
# IMAGE_NAME: Name of the image to use |
4 |
# Generally you use the name of the image with the version of the OS included. |
5 |
# Examples include: |
6 |
# centos-5.4 debian-4.0 fedora-12 |
7 |
# IMAGE_NAME="" |
8 |
|
9 |
# IMAGE_DIR: directory location for disk images |
10 |
# ( default is @localstatedir@/cache/ganeti-instance-image ) |
11 |
# IMAGE_DIR="" |
12 |
|
13 |
# ARCH: Define the ARCH of the image to use |
14 |
# Use either x86 or x86_64 |
15 |
# ARCH="x86_64" |
16 |
|
17 |
# IMAGE_DEBUG: turn on debugging output for the scripts |
18 |
# IMAGE_DEBUG=0 |
19 |
|
20 |
# HELPER: path to the image file of the helper vm |
21 |
# HELPER="var/lib/snf-image/helper.img" |
22 |
|
23 |
# HELPER_KERNEL: path to the kernel, kvm should use to run the helper image |
24 |
# HELPER_KERNEL="/var/lib/snf-image/helper-kernel" |
25 |
|
26 |
# HELPER_INITRD: path to the init ramdisk the helper vm should use. |
27 |
# HELPER_INITRD="/var/lib/snf-image/helper-initrd" |
28 |
|
29 |
# HELPER_TIMOUT: Soft and hard timeout limits for helper instance. |
30 |
# Helper instance will be terminated after a given time if it hasn't exited by |
31 |
# itself. The time to wait before killing the process is specified by those |
32 |
# variables. When soft/hard limit expires, a SIGTERM/SIGKILL is sent. |
33 |
# HELPER_SOFT_TIMEOUT="120" |
34 |
# HELPER_HARD_TIMEOUT="15" |
35 |
|
36 |
# HELPER_USR: For security reasons, the helper vm is not adviced to to run as |
37 |
# root. It should drop privileges just before the guest execution starts. The |
38 |
# user the helper vm should run as is specifies by HELPER_USR variable. |
39 |
# HELPER_USR="nobody" |
40 |
|
41 |
# Paths for needed programs. Uncommend and change the variables below, if you |
42 |
# don't want to use the default one. |
43 |
# LOSETUP="losetup" |
44 |
# KPARTX="kpartx" |
45 |
# SFDISK="sfdisk" |
46 |
# INSTALL_MBR="install-mbr" |
47 |
# TIMELIMIT="timelimit" |
48 |
# if [ "$windows_support" = "yes" ] ; then |
49 |
# PROGRESS_MONITOR="snf-progress-monitor" |
50 |
# fi |