Statistics
| Branch: | Tag: | Revision:

root / snf-image-host / defaults @ 21be5a41

History | View | Annotate | Download (3.3 kB)

1 0e0920ba Nikos Skalkotos
# snf-image defaults file
2 0e0920ba Nikos Skalkotos
3 0e0920ba Nikos Skalkotos
# IMAGE_NAME: Name of the image to use
4 0e0920ba Nikos Skalkotos
# Generally you use the name of the image with the version of the OS included.
5 0e0920ba Nikos Skalkotos
# Examples include:
6 0e0920ba Nikos Skalkotos
#   centos-5.4 debian-4.0 fedora-12
7 0e0920ba Nikos Skalkotos
# IMAGE_NAME=""
8 0e0920ba Nikos Skalkotos
9 0e0920ba Nikos Skalkotos
# IMAGE_DIR: directory location for disk images
10 152c17de Nikos Skalkotos
# IMAGE_DIR="/var/lib/snf-image"
11 0e0920ba Nikos Skalkotos
12 0e0920ba Nikos Skalkotos
# IMAGE_DEBUG: turn on debugging output for the scripts
13 0e0920ba Nikos Skalkotos
# IMAGE_DEBUG=0
14 0e0920ba Nikos Skalkotos
15 d51a95a8 Nikos Skalkotos
# HELPER_DIR: Directory hosting the helper files
16 2ce63dc2 Nikos Skalkotos
# HELPER_DIR="/var/lib/snf-image/helper/"
17 3b179b45 Nikos Skalkotos
18 d51a95a8 Nikos Skalkotos
# HELPER_IMG: Path to the helper VM image
19 6efb24fb Nikos Skalkotos
# HELPER_IMG="${HELPER_DIR}/image"
20 3b179b45 Nikos Skalkotos
21 d51a95a8 Nikos Skalkotos
# HELPER_KERNEL: Path to the helper VM kernel
22 6efb24fb Nikos Skalkotos
# HELPER_KERNEL="${HELPER_DIR}/kernel"
23 d51a95a8 Nikos Skalkotos
24 d51a95a8 Nikos Skalkotos
# HELPER_INITRD: Path to the helper VM initial ramdisk
25 6efb24fb Nikos Skalkotos
# HELPER_INITRD="${HELPER_DIR}/initrd"
26 5484975e Nikos Skalkotos
27 52ac594c Nikos Skalkotos
# HELPER_PKG: Path to the snf-image-helper package
28 6efb24fb Nikos Skalkotos
# HELPER_PKG="${HELPER_DIR}/snf-image-helper.deb"
29 52ac594c Nikos Skalkotos
30 9999d40d Nikos Skalkotos
# HELPER_TIMOUT: Soft and hard timeout limits for helper instance.
31 97532278 Vangelis Koukis
# The helper instance will be terminated after a given time if it hasn't exited
32 97532278 Vangelis Koukis
# by itself.
33 97532278 Vangelis Koukis
#
34 97532278 Vangelis Koukis
# When HELPER_SOFT_TIMEOUT seconds have passed, a SIGTERM is sent.
35 97532278 Vangelis Koukis
# When HELPER_HARD_TIMEOUT seconds more have passed, a SIGKILL is sent.
36 3b66e07b Nikos Skalkotos
# HELPER_SOFT_TIMEOUT="15"
37 3b66e07b Nikos Skalkotos
# HELPER_HARD_TIMEOUT="5"
38 9999d40d Nikos Skalkotos
39 97532278 Vangelis Koukis
# HELPER_USER: For security reasons, it is recommended that the helper VM
40 97532278 Vangelis Koukis
# runs as an unprivileged user. KVM drops root privileges and runs as
41 97532278 Vangelis Koukis
# HELPER_USER imeddiately before starting execution of the helper VM.
42 d51a95a8 Nikos Skalkotos
# HELPER_USER="nobody"
43 13487fe3 Nikos Skalkotos
44 bad5ca1f Nikos Skalkotos
# HELPER_CACHE_FILE: Cache file update-helper script uses to avoid running
45 bad5ca1f Nikos Skalkotos
# `debootstrap' all the time.
46 6efb24fb Nikos Skalkotos
# HELPER_CACHE_FILE="${HELPER_DIR}/cache.tar"
47 bad5ca1f Nikos Skalkotos
48 d259b27c Nikos Skalkotos
# HELPER_CACHE_PKGS: Debian Packages the cache file contains.
49 d259b27c Nikos Skalkotos
# HELPER_CACHE_PKGS="${HELPER_DIR}/packages"
50 d259b27c Nikos Skalkotos
51 97532278 Vangelis Koukis
# HELPER_EXTRA_PKGS: Extra packages that will need to be supplied
52 d259b27c Nikos Skalkotos
# to debootstrap to make the resulting helper image workable.
53 d259b27c Nikos Skalkotos
# DO NOT OVERWRITE THIS UNLESS YOU KNOW WHAT YOU ARE DOING
54 b126203e Nikos Skalkotos
# HELPER_EXTRA_PKGS="linux-image-amd64,e2fsprogs,ntfs-3g,ntfsprogs,xmlstarlet,python,parted,reglookup,chntpw,util-linux"
55 bad5ca1f Nikos Skalkotos
56 5a31f7ef Nikos Skalkotos
# HELPER_MIRROR: Debian mirror to use with debootstrap. Using a mirror close to
57 5a31f7ef Nikos Skalkotos
# you will speed up the whole debootstraping process. By default we do not
58 5a31f7ef Nikos Skalkotos
# define a mirror. Debootstrap will use it's default debian URL.
59 5a31f7ef Nikos Skalkotos
# HELPER_MIRROR="http://ftp.debian.org/debian"
60 5a31f7ef Nikos Skalkotos
61 d71f59e9 Nikos Skalkotos
# PITHOS_DB: Pithos database in SQLAlchemy format
62 d71f59e9 Nikos Skalkotos
# PITHOS_DB="sqlite:////var/lib/pithos/backend.db"
63 d71f59e9 Nikos Skalkotos
64 d71f59e9 Nikos Skalkotos
# PITHOS_DATA: Directory where pithos data are hosted
65 198f8249 Nikos Skalkotos
# PITHOS_DATA="/var/lib/pithos/data"
66 d71f59e9 Nikos Skalkotos
67 b1fef76e Nikos Skalkotos
# PROGRESS_MONITOR: External program that monitors the progress of the image
68 b1fef76e Nikos Skalkotos
# deployment. For now, this program is treated by snf-image as a decorator for
69 b1fef76e Nikos Skalkotos
# the raw copy command that copies the image file to the instance's hard disk.
70 b1fef76e Nikos Skalkotos
# This program must support the following options:
71 b1fef76e Nikos Skalkotos
#   -r, which specifies the expected number of bytes to be written to the disk.
72 b1fef76e Nikos Skalkotos
#   -i, which specifies the Ganeti instance name.
73 b1fef76e Nikos Skalkotos
# PROGRESS_MONITOR=""
74 b1fef76e Nikos Skalkotos
75 8689d50f Nikos Skalkotos
# UNATTEND: This variables overwrites the unattend.xml file used when deploying
76 8689d50f Nikos Skalkotos
# a windows image. snf-image-helper will use its own unattend.xml file if this
77 8689d50f Nikos Skalkotos
# variable is empty. Please unless you really know what you are doing, leave
78 8689d50f Nikos Skalkotos
# this empty.
79 8689d50f Nikos Skalkotos
# UNATTEND=""
80 8689d50f Nikos Skalkotos
81 b1fef76e Nikos Skalkotos
# Paths for needed programs. Uncommend and change the variables below if you
82 0e0920ba Nikos Skalkotos
# don't want to use the default one.
83 0e0920ba Nikos Skalkotos
# LOSETUP="losetup"
84 0e0920ba Nikos Skalkotos
# KPARTX="kpartx"
85 0e0920ba Nikos Skalkotos
# SFDISK="sfdisk"
86 5cbb15b9 Nikos Skalkotos
# QEMU_IMG="qemu-img"
87 0e0920ba Nikos Skalkotos
# INSTALL_MBR="install-mbr"
88 9999d40d Nikos Skalkotos
# TIMELIMIT="timelimit"
89 14de44dc Nikos Skalkotos
# CURL="curl"