Statistics
| Branch: | Tag: | Revision:

root / snf-image-host / defaults @ 2187080b

History | View | Annotate | Download (3 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
# IMAGE_DIR="/var/lib/snf-image"
11

    
12
# IMAGE_DEBUG: turn on debugging output for the scripts
13
# IMAGE_DEBUG=no
14

    
15
# HELPER_DIR: Directory hosting the helper files
16
# HELPER_DIR="/var/lib/snf-image/helper/"
17

    
18
# HELPER_CACHE_DIR: Directory hosting the helper cache files
19
# HELPER_CACHE_DIR="/var/cache/snf-image/helper/"
20

    
21
# HELPER_IMG: Path to the helper VM image
22
# HELPER_IMG="${HELPER_DIR}/image"
23

    
24
# HELPER_KERNEL: Path to the helper VM kernel
25
# HELPER_KERNEL="${HELPER_DIR}/kernel"
26

    
27
# HELPER_INITRD: Path to the helper VM initial ramdisk
28
# HELPER_INITRD="${HELPER_DIR}/initrd"
29

    
30
# HELPER_PKG: Path to the snf-image-helper package
31
# HELPER_PKG="${HELPER_DIR}/snf-image-helper.deb"
32

    
33
# HELPER_TIMOUT: Soft and hard timeout limits for helper instance.
34
# The helper instance will be terminated after a given time if it hasn't exited
35
# by itself. A TERM signal will be send if the instance is running after
36
# a HELPER_SOFT_TIMEOUT interval. A KILL signal will be sent, if the instance
37
# is still running after a HELPER_HARD_TIMEOUT interval since the initial
38
# signal was sent. The timeout values are integer numbers with an optional
39
# suffix: `s' for seconds (the default), `m' for minutes, `h' for hours or `d'
40
# for days.
41
# HELPER_SOFT_TIMEOUT="20"
42
# HELPER_HARD_TIMEOUT="5"
43

    
44
# HELPER_USER: For security reasons, it is recommended that the helper VM
45
# runs as an unprivileged user. KVM drops root privileges and runs as
46
# HELPER_USER imeddiately before starting execution of the helper VM.
47
# HELPER_USER="nobody"
48

    
49
# MULTISTRAP_CONFIG: Configuration file to be used with multistrap to create
50
# the rootfs of the helper image.
51
# MULTISTRAP_CONFIG="/etc/snf-image/multistrap.conf"
52

    
53
# MULTISTRAP_APTPREFDIR: Directory where apt preference files are hosted. Those
54
# files will be injected to the helper image before multistrap is called.
55
# MULTISTRAP_APTPREFDIR="/etc/snf-image/apt.pref.d"
56

    
57
# PITHOS_DB: Pithos database in SQLAlchemy format
58
# PITHOS_DB="sqlite:////var/lib/pithos/backend.db"
59

    
60
# PITHOS_DATA: Directory where pithos data are hosted
61
# PITHOS_DATA="/var/lib/pithos/data"
62

    
63
# PROGRESS_MONITOR: External program that monitors the progress of the image
64
# deployment. The snf-image monitor messages will be redirected to the standard
65
# input of this program.
66
# PROGRESS_MONITOR=""
67

    
68
# UNATTEND: This variables overwrites the unattend.xml file used when deploying
69
# a windows image. snf-image-helper will use its own unattend.xml file if this
70
# variable is empty. Please unless you really know what you are doing, leave
71
# this empty.
72
# UNATTEND=""
73

    
74
# Paths for needed programs. Uncommend and change the variables below if you
75
# don't want to use the default one.
76
# LOSETUP="losetup"
77
# KPARTX="kpartx"
78
# SFDISK="sfdisk"
79
# QEMU_IMG="qemu-img"
80
# INSTALL_MBR="install-mbr"
81
# TIMELIMIT="timelimit"
82
# CURL="curl"