defaults.in 3.62 KB
Newer Older
1
2
3
# snf-image defaults file

# IMAGE_DIR: directory location for disk images
4
# IMAGE_DIR="@localstatedir@/lib/snf-image"
5
6

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

9
# VERSION_CHECK: Check if snf-image and snf-image-helper have the same version.
10
# This is useful if snf-image is installed as Debian package and not from
11
# source.
12
# VERSION_CHECK="@VERSION_CHECK@"
13

14
# HELPER_DIR: Directory hosting the helper files
15
# HELPER_DIR="@localstatedir@/lib/snf-image/helper/"
16

17
# HELPER_SIZE: Size of the helper VM image in MB
Nikos Skalkotos's avatar
Nikos Skalkotos committed
18
# HELPER_SIZE="600"
19

20
# HELPER_TIMEOUT: Soft and hard timeout limits for helper instance. The helper
21
22
23
24
25
26
# 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
27
# HELPER_SOFT_TIMEOUT="120"
28
# HELPER_HARD_TIMEOUT="5"
29

Vangelis Koukis's avatar
Vangelis Koukis committed
30
31
# HELPER_USER: For security reasons, it is recommended that the helper VM
# runs as an unprivileged user. KVM drops root privileges and runs as
32
# HELPER_USER immediately before starting execution of the helper VM.
33
# HELPER_USER="nobody"
34

35
# HELPER_MEMORY: Virtual RAM size in megabytes to be given to the helper VM.
36
# HELPER_MEMORY="512"
37

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

42
# MULTISTRAP_APTPREFDIR: Directory where APT preference files are hosted. Those
43
# files will be injected to the helper image before multistrap is called.
44
# MULTISTRAP_APTPREFDIR="@MULTISTRAP_APTPREFDIR@"
45

46
# XEN_SCRIPTS_DIR: Directory where the Xen scripts are stored
47
# XEN_SCRIPTS_DIR="@sysconfdir@/xen/scripts"
48

49
# PITHOS_DB: Pithos database in SQLAlchemy format
50
# PITHOS_DB="sqlite:////@localstatedir@/lib/pithos/backend.db"
51

52
53
54
55
56
57
58
# PITHOS_BACKEND_STORAGE: Select Pithos backend storage. Possible values are
# 'nfs' and 'rados'. According to the value you select, you need to set the
# corresponding variables that follow.
# If you select 'nfs' that's 'PITHOS_DATA'. If you select 'rados' then you need
# to set all the "*_RADOS_*" ones.
# PITHOS_BACKEND_STORAGE="nfs"

59
# PITHOS_DATA: Directory where Pithos data are hosted
60
# PITHOS_DATA="/@localstatedir@/lib/pithos/data"
61
62
63
64
65
66
67
68
69
#
# PITHOS_RADOS_CEPH_CONF: RADOS configuration file
# PITHOS_RADOS_CEPH_CONF="@sysconfdir@/ceph/ceph.conf"

# PITHOS_RADOS_POOL_MAPS: RADOS pool for storing Pithos maps
# PITHOS_RADOS_POOL_MAPS="maps"

# PITHOS_RADOS_POOL_BLOCKS: RADOS pool for storing Pithos blocks
# PITHOS_RADOS_POOL_BLOCKS="blocks"
70

71
72
73
# PITHOS_ARCHIPELAGO_CONF: Archipelago configuration file
# PITHOS_ARCHIPELAGO_CONF="@sysconfdir@/archipelago/archipelago.conf"
#
74
# PROGRESS_MONITOR: External program that monitors the progress of the image
75
76
# deployment. The snf-image monitor messages will be redirected to the standard
# input of this program.
77
# PROGRESS_MONITOR="@PROGRESS_MONITOR@"
78

79
# UNATTEND: This variable overwrites the unattend.xml file used when deploying
80
# a Windows image. snf-image-helper will use its own unattend.xml file if this
81
82
# variable is empty. Please leave this empty, unless you really know what you
# are doing.
83
# UNATTEND="@UNATTEND@"
84

85
# Paths for needed programs. Uncomment and change the variables below if you
86
# don't want to use the default one.
87
# KVM="kvm"
88
89
90
91
# LOSETUP="losetup"
# KPARTX="kpartx"
# SFDISK="sfdisk"
# INSTALL_MBR="install-mbr"
92
# TIMEOUT="timeout"
Nikos Skalkotos's avatar
Nikos Skalkotos committed
93
# CURL="curl"
94
# TAR="tar"