root / snf-image-host / defaults @ ebba4508
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="/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. |
33 |
# |
34 |
# When HELPER_SOFT_TIMEOUT seconds have passed, a SIGTERM is sent. |
35 |
# When HELPER_HARD_TIMEOUT seconds more have passed, a SIGKILL is sent. |
36 |
# HELPER_SOFT_TIMEOUT="15" |
37 |
# HELPER_HARD_TIMEOUT="5" |
38 |
|
39 |
# HELPER_USER: For security reasons, it is recommended that the helper VM |
40 |
# runs as an unprivileged user. KVM drops root privileges and runs as |
41 |
# HELPER_USER imeddiately before starting execution of the helper VM. |
42 |
# HELPER_USER="nobody" |
43 |
|
44 |
# HELPER_CACHE_FILE: Cache file update-helper script uses to avoid running |
45 |
# `debootstrap' all the time. |
46 |
# HELPER_CACHE_FILE="${HELPER_DIR}/cache.tar" |
47 |
|
48 |
# HELPER_CACHE_PKGS: Debian Packages the cache file contains. |
49 |
# HELPER_CACHE_PKGS="${HELPER_DIR}/packages" |
50 |
|
51 |
# HELPER_EXTRA_PKGS: Extra packages that will need to be supplied |
52 |
# to debootstrap to make the resulting helper image workable. |
53 |
# DO NOT OVERWRITE THIS UNLESS YOU KNOW WHAT YOU ARE DOING |
54 |
# HELPER_EXTRA_PKGS="linux-image-amd64,e2fsprogs,ntfs-3g,ntfsprogs,xmlstarlet,python,parted,reglookup,chntpw,util-linux" |
55 |
|
56 |
# HELPER_MIRROR: Debian mirror to use with debootstrap. Using a mirror close to |
57 |
# you will speed up the whole debootstraping process. By default we do not |
58 |
# define a mirror. Debootstrap will use it's default debian URL. |
59 |
# HELPER_MIRROR="http://ftp.debian.org/debian" |
60 |
|
61 |
# PITHOS_DB: Pithos database in SQLAlchemy format |
62 |
# PITHOS_DB="sqlite:////var/lib/pithos/backend.db" |
63 |
|
64 |
# PITHOS_DATA: Directory where pithos data are hosted |
65 |
# PITHOS_DATA="/var/lib/pithos/data" |
66 |
|
67 |
# PROGRESS_MONITOR: External program that monitors the progress of the image |
68 |
# deployment. This program should accept as argument a named pipe file where |
69 |
# snf-image outputs monitor messages. |
70 |
# PROGRESS_MONITOR="" |
71 |
|
72 |
# UNATTEND: This variables overwrites the unattend.xml file used when deploying |
73 |
# a windows image. snf-image-helper will use its own unattend.xml file if this |
74 |
# variable is empty. Please unless you really know what you are doing, leave |
75 |
# this empty. |
76 |
# UNATTEND="" |
77 |
|
78 |
# Paths for needed programs. Uncommend and change the variables below if you |
79 |
# don't want to use the default one. |
80 |
# LOSETUP="losetup" |
81 |
# KPARTX="kpartx" |
82 |
# SFDISK="sfdisk" |
83 |
# QEMU_IMG="qemu-img" |
84 |
# INSTALL_MBR="install-mbr" |
85 |
# TIMELIMIT="timelimit" |
86 |
# CURL="curl" |