Statistics
| Branch: | Tag: | Revision:

root / snf-image-host / defaults.in @ 971a3e68

History | View | Annotate | Download (3.1 kB)

1 0e0920ba Nikos Skalkotos
# snf-image defaults file
2 0e0920ba Nikos Skalkotos
3 0e0920ba Nikos Skalkotos
# IMAGE_NAME: Name of the image to use
4 0e0920ba Nikos Skalkotos
# Generally you use the name of the image with the version of the OS included.
5 0e0920ba Nikos Skalkotos
# Examples include:
6 0e0920ba Nikos Skalkotos
#   centos-5.4 debian-4.0 fedora-12
7 0e0920ba Nikos Skalkotos
# IMAGE_NAME=""
8 0e0920ba Nikos Skalkotos
9 0e0920ba Nikos Skalkotos
# IMAGE_DIR: directory location for disk images
10 fd0c1f7d Nikos Skalkotos
# IMAGE_DIR="@localstatedir@/lib/snf-image"
11 0e0920ba Nikos Skalkotos
12 0e0920ba Nikos Skalkotos
# IMAGE_DEBUG: turn on debugging output for the scripts
13 ded30adf Nikos Skalkotos
# IMAGE_DEBUG=no
14 0e0920ba Nikos Skalkotos
15 35ab9f4c Nikos Skalkotos
# VERSION_CHECK: Check if snf-image and snf-image-helper have the same version.
16 35ab9f4c Nikos Skalkotos
# This is usefull if snf-image is installed as debian package and not from
17 35ab9f4c Nikos Skalkotos
# source.
18 fd0c1f7d Nikos Skalkotos
# VERSION_CHECK="@VERSION_CHECK@"
19 5d21c514 Nikos Skalkotos
20 d51a95a8 Nikos Skalkotos
# HELPER_DIR: Directory hosting the helper files
21 fd0c1f7d Nikos Skalkotos
# HELPER_DIR="@localstatedir@/lib/snf-image/helper/"
22 3b179b45 Nikos Skalkotos
23 81d3d555 Nikos Skalkotos
# HELPER_SIZE: Size of the helper VM image in MB
24 49bc26a3 Nikos Skalkotos
# HELPER_SIZE="600"
25 81d3d555 Nikos Skalkotos
26 68d58128 Nikos Skalkotos
# HELPER_TIMOUT: Soft and hard timeout limits for helper instance. The helper
27 68d58128 Nikos Skalkotos
# instance will be terminated after a given time if it hasn't exited by itself.
28 68d58128 Nikos Skalkotos
# A TERM signal will be send if the instance is running after a
29 68d58128 Nikos Skalkotos
# HELPER_SOFT_TIMEOUT interval. A KILL signal will be sent, if the instance is
30 68d58128 Nikos Skalkotos
# still running after a HELPER_HARD_TIMEOUT interval since the initial signal
31 68d58128 Nikos Skalkotos
# was sent. The timeout values are integer numbers with an optional suffix: `s'
32 68d58128 Nikos Skalkotos
# for seconds (the default), `m' for minutes, `h' for hours or `d' for days.
33 49bc26a3 Nikos Skalkotos
# HELPER_SOFT_TIMEOUT="120"
34 3b66e07b Nikos Skalkotos
# HELPER_HARD_TIMEOUT="5"
35 9999d40d Nikos Skalkotos
36 97532278 Vangelis Koukis
# HELPER_USER: For security reasons, it is recommended that the helper VM
37 97532278 Vangelis Koukis
# runs as an unprivileged user. KVM drops root privileges and runs as
38 97532278 Vangelis Koukis
# HELPER_USER imeddiately before starting execution of the helper VM.
39 d51a95a8 Nikos Skalkotos
# HELPER_USER="nobody"
40 13487fe3 Nikos Skalkotos
41 971a3e68 Nikos Skalkotos
# HELPER_MEMORY: Virtual RAM size in megabytes to be given to the helper VM.
42 971a3e68 Nikos Skalkotos
# HELPER_MEMORY="256"
43 971a3e68 Nikos Skalkotos
44 621a9a34 Nikos Skalkotos
# MULTISTRAP_CONFIG: Configuration file to be used with multistrap to create
45 621a9a34 Nikos Skalkotos
# the rootfs of the helper image.
46 fd0c1f7d Nikos Skalkotos
# MULTISTRAP_CONFIG="@MULTISTRAP_CONFIG@"
47 5a31f7ef Nikos Skalkotos
48 5197de03 Nikos Skalkotos
# MULTISTRAP_APTPREFDIR: Directory where apt preference files are hosted. Those
49 5197de03 Nikos Skalkotos
# files will be injected to the helper image before multistrap is called.
50 fd0c1f7d Nikos Skalkotos
# MULTISTRAP_APTPREFDIR="@MULTISTRAP_APTPREFDIR@"
51 5197de03 Nikos Skalkotos
52 d509231b Nikos Skalkotos
# XEN_SCRIPTS_DIR: Directory where the Xen scripts are stored
53 d509231b Nikos Skalkotos
# XEN_SCRIPTS_DIR=="@sysconfdir@/xen/scripts"
54 d509231b Nikos Skalkotos
55 d71f59e9 Nikos Skalkotos
# PITHOS_DB: Pithos database in SQLAlchemy format
56 fd0c1f7d Nikos Skalkotos
# PITHOS_DB="sqlite:////@localstatedir@/lib/pithos/backend.db"
57 d71f59e9 Nikos Skalkotos
58 d71f59e9 Nikos Skalkotos
# PITHOS_DATA: Directory where pithos data are hosted
59 fd0c1f7d Nikos Skalkotos
# PITHOS_DATA="/@localstatedir@/lib/pithos/data"
60 d71f59e9 Nikos Skalkotos
61 b1fef76e Nikos Skalkotos
# PROGRESS_MONITOR: External program that monitors the progress of the image
62 9c76962d Nikos Skalkotos
# deployment. The snf-image monitor messages will be redirected to the standard
63 9c76962d Nikos Skalkotos
# input of this program.
64 fd0c1f7d Nikos Skalkotos
# PROGRESS_MONITOR="@PROGRESS_MONITOR@"
65 b1fef76e Nikos Skalkotos
66 8689d50f Nikos Skalkotos
# UNATTEND: This variables overwrites the unattend.xml file used when deploying
67 8689d50f Nikos Skalkotos
# a windows image. snf-image-helper will use its own unattend.xml file if this
68 8689d50f Nikos Skalkotos
# variable is empty. Please unless you really know what you are doing, leave
69 8689d50f Nikos Skalkotos
# this empty.
70 fd0c1f7d Nikos Skalkotos
# UNATTEND="@UNATTEND@"
71 8689d50f Nikos Skalkotos
72 b1fef76e Nikos Skalkotos
# Paths for needed programs. Uncommend and change the variables below if you
73 0e0920ba Nikos Skalkotos
# don't want to use the default one.
74 0e0920ba Nikos Skalkotos
# LOSETUP="losetup"
75 0e0920ba Nikos Skalkotos
# KPARTX="kpartx"
76 0e0920ba Nikos Skalkotos
# SFDISK="sfdisk"
77 5cbb15b9 Nikos Skalkotos
# QEMU_IMG="qemu-img"
78 0e0920ba Nikos Skalkotos
# INSTALL_MBR="install-mbr"
79 68d58128 Nikos Skalkotos
# TIMEOUT="timeout"
80 14de44dc Nikos Skalkotos
# CURL="curl"
81 6fe48058 Nikos Skalkotos
# TAR="tar"