root / snf-image-host / defaults @ 725a0f88
History | View | Annotate | Download (2.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. |
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_EXTRA_PKGS: Extra packages that will need to be supplied |
49 |
# to debootstrap to make the resulting helper image workable |
50 |
# HELPER_EXTRA_PKGS="linux-image-amd64,e2fsprogs,ntfs-3g,ntfsprogs,xmlstarlet,python,parted,reglookup,chntpw" |
51 |
|
52 |
# HELPER_MIRROR: Debian mirror to use with debootstrap. Using a mirror close to |
53 |
# you will speed up the whole debootstraping process. By default we do not |
54 |
# define a mirror. Debootstrap will use it's default debian URL. |
55 |
# HELPER_MIRROR="http://ftp.debian.org/debian" |
56 |
|
57 |
# Paths for needed programs. Uncommend and change the variables below, if you |
58 |
# don't want to use the default one. |
59 |
# LOSETUP="losetup" |
60 |
# KPARTX="kpartx" |
61 |
# SFDISK="sfdisk" |
62 |
# QEMU_IMG="qemu-img" |
63 |
# INSTALL_MBR="install-mbr" |
64 |
# TIMELIMIT="timelimit" |
65 |
# CURL="curl" |
66 |
# PROGRESS_MONITOR="snf-progress-monitor" |