Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (3.1 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="@localstatedir@/lib/snf-image"
11

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

    
15
# VERSION_CHECK: Check if snf-image and snf-image-helper have the same version.
16
# This is usefull if snf-image is installed as debian package and not from
17
# 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
24
# HELPER_SIZE="600"
25

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

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

    
41
# HELPER_MEMORY: Virtual RAM size in megabytes to be given to the helper VM.
42
# HELPER_MEMORY="256"
43

    
44
# MULTISTRAP_CONFIG: Configuration file to be used with multistrap to create
45
# the rootfs of the helper image.
46
# MULTISTRAP_CONFIG="@MULTISTRAP_CONFIG@"
47

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

    
52
# XEN_SCRIPTS_DIR: Directory where the Xen scripts are stored
53
# XEN_SCRIPTS_DIR=="@sysconfdir@/xen/scripts"
54

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

    
58
# PITHOS_DATA: Directory where pithos data are hosted
59
# PITHOS_DATA="/@localstatedir@/lib/pithos/data"
60

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

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

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