Statistics
| Branch: | Tag: | Revision:

root / snf-image-host / defaults @ d51a95a8

History | View | Annotate | Download (1.8 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_DIR: Directory hosting the helper files
21
# HELPER_DIR: /var/lib/snf-image/helper/
22

    
23
# HELPER_IMG: Path to the helper VM image
24
# HELPER_IMG="$(HELPER_DIR)/image"
25

    
26
# HELPER_KERNEL: Path to the helper VM kernel
27
# HELPER_KERNEL="$(HELPER_DIR)/kernel"
28

    
29
# HELPER_PKG: Path to the snf-image-helper package
30
# HELPER_PKG="$(HELPER_DIR)/snf-image-helper.deb"
31

    
32
# HELPER_INITRD: Path to the helper VM initial ramdisk
33
# HELPER_INITRD="$(HELPER_DIR)/initrd"
34

    
35
# HELPER_TIMOUT: Soft and hard timeout limits for helper instance.
36
# Helper instance will be terminated after a given time if it hasn't exited by
37
# itself. The time to wait before killing the process is specified by those
38
# variables. When soft/hard limit expires, a SIGTERM/SIGKILL is sent.
39
# HELPER_SOFT_TIMEOUT="120"
40
# HELPER_HARD_TIMEOUT="15"
41

    
42
# HELPER_USR: For security reasons, the helper vm is not adviced to to run as
43
# root. It should drop privileges just before the guest execution starts. The
44
# user the helper vm should run as is specifies by HELPER_USR variable.
45
# HELPER_USER="nobody"
46

    
47
# Paths for needed programs. Uncommend and change the variables below, if you
48
# don't want to use the default one.
49
# LOSETUP="losetup"
50
# KPARTX="kpartx"
51
# SFDISK="sfdisk"
52
# INSTALL_MBR="install-mbr"
53
# TIMELIMIT="timelimit"
54
# if [ "$windows_support" = "yes" ] ; then
55
#     PROGRESS_MONITOR="snf-progress-monitor"
56
# fi