Statistics
| Branch: | Tag: | Revision:

root / snf-image-host / defaults @ 7836baff

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

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

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

    
18
# HELPER_IMG: Path to the helper VM image
19
# HELPER_IMG="${HELPER_DIR}/image"
20

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

    
24
# HELPER_INITRD: Path to the helper VM initial ramdisk
25
# HELPER_INITRD="${HELPER_DIR}/initrd"
26

    
27
# HELPER_PKG: Path to the snf-image-helper package
28
# HELPER_PKG="${HELPER_DIR}/snf-image-helper.deb"
29

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

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

    
46
# HELPER_CACHE_FILE: Cache file update-helper script uses to avoid running
47
# `debootstrap' all the time.
48
# HELPER_CACHE_FILE="${HELPER_DIR}/cache.tar"
49

    
50
# HELPER_CACHE_PKGS: Debian Packages the cache file contains.
51
# HELPER_CACHE_PKGS="${HELPER_DIR}/packages"
52

    
53
# HELPER_EXTRA_PKGS: Extra packages that will need to be supplied
54
# to debootstrap to make the resulting helper image workable.
55
# DO NOT OVERWRITE THIS UNLESS YOU KNOW WHAT YOU ARE DOING
56
# HELPER_EXTRA_PKGS="linux-image-amd64,e2fsprogs,ntfs-3g,ntfsprogs,xmlstarlet,python,parted,reglookup,chntpw,util-linux"
57

    
58
# HELPER_MIRROR: Debian mirror to use with debootstrap. Using a mirror close to
59
# you will speed up the whole debootstraping process. By default we do not
60
# define a mirror. Debootstrap will use it's default debian URL.
61
# HELPER_MIRROR="http://ftp.debian.org/debian"
62

    
63
# PITHOS_DB: Pithos database in SQLAlchemy format
64
# PITHOS_DB="sqlite:////var/lib/pithos/backend.db"
65

    
66
# PITHOS_DATA: Directory where pithos data are hosted
67
# PITHOS_DATA="/var/lib/pithos/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

    
74
# UNATTEND: This variables overwrites the unattend.xml file used when deploying
75
# a windows image. snf-image-helper will use its own unattend.xml file if this
76
# variable is empty. Please unless you really know what you are doing, leave
77
# this empty.
78
# UNATTEND=""
79

    
80
# Paths for needed programs. Uncommend and change the variables below if you
81
# don't want to use the default one.
82
# LOSETUP="losetup"
83
# KPARTX="kpartx"
84
# SFDISK="sfdisk"
85
# QEMU_IMG="qemu-img"
86
# INSTALL_MBR="install-mbr"
87
# TIMELIMIT="timelimit"
88
# CURL="curl"