root / snf-deploy / files / etc / default / snf-image @ 093d25d8
History | View | Annotate | Download (3.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 |
IMAGE_DIR=%IMAGE_DIR% |
12 |
|
13 |
# IMAGE_DEBUG: turn on debugging output for the scripts |
14 |
# IMAGE_DEBUG=no |
15 |
|
16 |
# VERSION_CHECK: Check if host and helper have the |
17 |
# same version. This is usefull if snf-image-host is |
18 |
# installed as debian package and not from source. |
19 |
# VERSION_CHECK="no" |
20 |
|
21 |
# HELPER_DIR: Directory hosting the helper files |
22 |
# HELPER_DIR="/var/lib/snf-image/helper/" |
23 |
|
24 |
# HELPER_CACHE_DIR: Directory hosting the helper cache files |
25 |
# HELPER_CACHE_DIR="/var/cache/snf-image/helper/" |
26 |
|
27 |
# HELPER_IMG: Path to the helper VM image |
28 |
# HELPER_IMG="${HELPER_DIR}/image" |
29 |
|
30 |
# HELPER_KERNEL: Path to the helper VM kernel |
31 |
# HELPER_KERNEL="${HELPER_DIR}/kernel" |
32 |
|
33 |
# HELPER_INITRD: Path to the helper VM initial ramdisk |
34 |
# HELPER_INITRD="${HELPER_DIR}/initrd" |
35 |
|
36 |
# HELPER_TIMOUT: Soft and hard timeout limits for helper instance. |
37 |
# The helper instance will be terminated after a given time if it hasn't exited |
38 |
# by itself. A TERM signal will be send if the instance is running after |
39 |
# a HELPER_SOFT_TIMEOUT interval. A KILL signal will be sent, if the instance |
40 |
# is still running after a HELPER_HARD_TIMEOUT interval since the initial |
41 |
# signal was sent. The timeout values are integer numbers with an optional |
42 |
# suffix: `s' for seconds (the default), `m' for minutes, `h' for hours or `d' |
43 |
# for days. |
44 |
# HELPER_SOFT_TIMEOUT="20" |
45 |
# HELPER_HARD_TIMEOUT="5" |
46 |
HELPER_SOFT_TIMEOUT=100 |
47 |
|
48 |
# HELPER_USER: For security reasons, it is recommended that the helper VM |
49 |
# runs as an unprivileged user. KVM drops root privileges and runs as |
50 |
# HELPER_USER imeddiately before starting execution of the helper VM. |
51 |
# HELPER_USER="nobody" |
52 |
|
53 |
# MULTISTRAP_CONFIG: Configuration file to be used with multistrap to create |
54 |
# the rootfs of the helper image. |
55 |
# MULTISTRAP_CONFIG="/etc/snf-image/multistrap.conf" |
56 |
|
57 |
# MULTISTRAP_APTPREFDIR: Directory where apt preference files are hosted. Those |
58 |
# files will be injected to the helper image before multistrap is called. |
59 |
# MULTISTRAP_APTPREFDIR="/etc/snf-image/apt.pref.d" |
60 |
|
61 |
# PITHOS_DB: Pithos database in SQLAlchemy format |
62 |
# PITHOS_DB="sqlite:////var/lib/pithos/backend.db" |
63 |
PITHOS_DB=postgresql://%SYNNEFO_USER%:%SYNNEFO_DB_PASSWD%@%DB_NODE%:5432/snf_pithos |
64 |
|
65 |
# PITHOS_DATA: Directory where pithos data are hosted |
66 |
# PITHOS_DATA="/var/lib/pithos/data" |
67 |
PITHOS_DATA=%PITHOS_DIR%/data |
68 |
|
69 |
# PROGRESS_MONITOR: External program that monitors the progress of the image |
70 |
# deployment. The snf-image monitor messages will be redirected to the standard |
71 |
# input of this program. |
72 |
# PROGRESS_MONITOR="" |
73 |
PROGRESS_MONITOR=snf-progress-monitor |
74 |
|
75 |
# UNATTEND: This variables overwrites the unattend.xml file used when deploying |
76 |
# a windows image. snf-image-helper will use its own unattend.xml file if this |
77 |
# variable is empty. Please unless you really know what you are doing, leave |
78 |
# this empty. |
79 |
# UNATTEND="" |
80 |
|
81 |
# Paths for needed programs. Uncommend and change the variables below if you |
82 |
# don't want to use the default one. |
83 |
# LOSETUP="losetup" |
84 |
# KPARTX="kpartx" |
85 |
# SFDISK="sfdisk" |
86 |
# QEMU_IMG="qemu-img" |
87 |
# INSTALL_MBR="install-mbr" |
88 |
# TIMELIMIT="timelimit" |
89 |
# CURL="curl" |
90 |
CURL="curl -k" |