Statistics
| Branch: | Tag: | Revision:

root / snf-image-host / defaults @ 53a5929f

History | View | Annotate | Download (2.8 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

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

    
15
# HELPER_DIR: Directory hosting the helper files
16
# HELPER_DIR="/var/lib/snf-image/helper/"
17

    
18
# HELPER_CACHE_DIR: Directory hosting the helper cache files
19
# HELPER_CACHE_DIR="/var/cache/snf-image/helper/"
20

    
21
# HELPER_IMG: Path to the helper VM image
22
# HELPER_IMG="${HELPER_DIR}/image"
23

    
24
# HELPER_KERNEL: Path to the helper VM kernel
25
# HELPER_KERNEL="${HELPER_DIR}/kernel"
26

    
27
# HELPER_INITRD: Path to the helper VM initial ramdisk
28
# HELPER_INITRD="${HELPER_DIR}/initrd"
29

    
30
# HELPER_PKG: Path to the snf-image-helper package
31
# HELPER_PKG="${HELPER_DIR}/snf-image-helper.deb"
32

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

    
44
# HELPER_USER: For security reasons, it is recommended that the helper VM
45
# runs as an unprivileged user. KVM drops root privileges and runs as
46
# HELPER_USER imeddiately before starting execution of the helper VM.
47
# HELPER_USER="nobody"
48

    
49
# MULTISTRAP_CONFIG: Configuration file to be used with multistrap to create
50
# the rootfs of the helper image.
51
# MULTISTRAP_CONFIG="/etc/snf-image/multistrap.conf"
52

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

    
56
# PITHOS_DATA: Directory where pithos data are hosted
57
# PITHOS_DATA="/var/lib/pithos/data"
58

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

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

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