defaults.in 2.94 KB
Newer Older
1
2
3
4
5
6
7
8
9
# snf-image defaults file

# IMAGE_NAME: Name of the image to use
# Generally you use the name of the image with the version of the OS included.
# Examples include:
#   centos-5.4 debian-4.0 fedora-12
# IMAGE_NAME=""

# IMAGE_DIR: directory location for disk images
10
# IMAGE_DIR="@localstatedir@/lib/snf-image"
11
12

# IMAGE_DEBUG: turn on debugging output for the scripts
Nikos Skalkotos's avatar
Nikos Skalkotos committed
13
# IMAGE_DEBUG=no
14

15
16
17
# VERSION_CHECK: Check if host and helper have the
# same version. This is usefull if snf-image-host is
# installed as debian package and not from source.
18
# VERSION_CHECK="@VERSION_CHECK@"
19

20
# HELPER_DIR: Directory hosting the helper files
21
# HELPER_DIR="@localstatedir@/lib/snf-image/helper/"
22

23
# HELPER_SIZE: Size of the helper VM image in MB
Nikos Skalkotos's avatar
Nikos Skalkotos committed
24
# HELPER_SIZE="600"
25

26
27
28
29
30
31
32
# HELPER_TIMOUT: Soft and hard timeout limits for helper instance. The helper
# instance will be terminated after a given time if it hasn't exited by itself.
# A TERM signal will be send if the instance is running after a
# HELPER_SOFT_TIMEOUT interval. A KILL signal will be sent, if the instance is
# still running after a HELPER_HARD_TIMEOUT interval since the initial signal
# was sent. The timeout values are integer numbers with an optional suffix: `s'
# for seconds (the default), `m' for minutes, `h' for hours or `d' for days.
Nikos Skalkotos's avatar
Nikos Skalkotos committed
33
# HELPER_SOFT_TIMEOUT="120"
34
# HELPER_HARD_TIMEOUT="5"
35

Vangelis Koukis's avatar
Vangelis Koukis committed
36
37
38
# HELPER_USER: For security reasons, it is recommended that the helper VM
# runs as an unprivileged user. KVM drops root privileges and runs as
# HELPER_USER imeddiately before starting execution of the helper VM.
39
# HELPER_USER="nobody"
40

41
42
# MULTISTRAP_CONFIG: Configuration file to be used with multistrap to create
# the rootfs of the helper image.
43
# MULTISTRAP_CONFIG="@MULTISTRAP_CONFIG@"
Nikos Skalkotos's avatar
Nikos Skalkotos committed
44

45
46
# MULTISTRAP_APTPREFDIR: Directory where apt preference files are hosted. Those
# files will be injected to the helper image before multistrap is called.
47
# MULTISTRAP_APTPREFDIR="@MULTISTRAP_APTPREFDIR@"
48

49
50
51
# XEN_SCRIPTS_DIR: Directory where the Xen scripts are stored
# XEN_SCRIPTS_DIR=="@sysconfdir@/xen/scripts"

52
# PITHOS_DB: Pithos database in SQLAlchemy format
53
# PITHOS_DB="sqlite:////@localstatedir@/lib/pithos/backend.db"
54
55

# PITHOS_DATA: Directory where pithos data are hosted
56
# PITHOS_DATA="/@localstatedir@/lib/pithos/data"
57

58
# PROGRESS_MONITOR: External program that monitors the progress of the image
59
60
# deployment. The snf-image monitor messages will be redirected to the standard
# input of this program.
61
# PROGRESS_MONITOR="@PROGRESS_MONITOR@"
62

63
64
65
66
# UNATTEND: This variables overwrites the unattend.xml file used when deploying
# a windows image. snf-image-helper will use its own unattend.xml file if this
# variable is empty. Please unless you really know what you are doing, leave
# this empty.
67
# UNATTEND="@UNATTEND@"
68

69
# Paths for needed programs. Uncommend and change the variables below if you
70
71
72
73
# don't want to use the default one.
# LOSETUP="losetup"
# KPARTX="kpartx"
# SFDISK="sfdisk"
74
# QEMU_IMG="qemu-img"
75
# INSTALL_MBR="install-mbr"
76
# TIMEOUT="timeout"
Nikos Skalkotos's avatar
Nikos Skalkotos committed
77
# CURL="curl"