Statistics
| Branch: | Tag: | Revision:

root / snf-image-host / defaults @ cb489189

History | View | Annotate | Download (2.4 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
# ARCH: Define the ARCH of the image to use
13
# Use either x86 or x86_64
14
# ARCH="x86_64"
15

    
16
# IMAGE_DEBUG: turn on debugging output for the scripts
17
# IMAGE_DEBUG=0
18

    
19
# HELPER_DIR: Directory hosting the helper files
20
# HELPER_DIR="/var/lib/snf-image/helper/"
21

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

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

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

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

    
34
# HELPER_TIMOUT: Soft and hard timeout limits for helper instance.
35
# The helper instance will be terminated after a given time if it hasn't exited
36
# by itself.
37
#
38
# When HELPER_SOFT_TIMEOUT seconds have passed, a SIGTERM is sent.
39
# When HELPER_HARD_TIMEOUT seconds more have passed, a SIGKILL is sent.
40
# HELPER_SOFT_TIMEOUT="15"
41
# HELPER_HARD_TIMEOUT="5"
42

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

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

    
52
# HELPER_EXTRA_PKGS: Extra packages that will need to be supplied
53
# to debootstrap to make the resulting helper image workable
54
# HELPER_EXTRA_PKGS="linux-image-amd64,e2fsprogs,ntfs-3g,ntfsprogs,xmlstarlet,python,parted"
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
# Paths for needed programs. Uncommend and change the variables below, if you
62
# don't want to use the default one.
63
# LOSETUP="losetup"
64
# KPARTX="kpartx"
65
# SFDISK="sfdisk"
66
# QEMU_IMG="qemu-img"
67
# INSTALL_MBR="install-mbr"
68
# TIMELIMIT="timelimit"
69
# CURL="curl"
70
# PROGRESS_MONITOR="snf-progress-monitor"