1 # snf-image defaults file
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.
6 # centos-5.4 debian-4.0 fedora-12
9 # IMAGE_DIR: directory location for disk images
10 # IMAGE_DIR="/var/lib/snf-image"
12 # ARCH: Define the ARCH of the image to use
13 # Use either x86 or x86_64
16 # IMAGE_DEBUG: turn on debugging output for the scripts
19 # HELPER_DIR: Directory hosting the helper files
20 # HELPER_DIR="/var/lib/snf-image/helper/"
22 # HELPER_IMG: Path to the helper VM image
23 # HELPER_IMG="$(HELPER_DIR)/image"
25 # HELPER_KERNEL: Path to the helper VM kernel
26 # HELPER_KERNEL="$(HELPER_DIR)/kernel"
28 # HELPER_INITRD: Path to the helper VM initial ramdisk
29 # HELPER_INITRD="$(HELPER_DIR)/initrd"
31 # HELPER_PKG: Path to the snf-image-helper package
32 # HELPER_PKG="$(HELPER_DIR)/snf-image-helper.deb"
34 # HELPER_TIMOUT: Soft and hard timeout limits for helper instance.
35 # Helper instance will be terminated after a given time if it hasn't exited by
36 # itself. The time to wait before killing the process is specified by those
37 # variables. When soft/hard limit expires, a SIGTERM/SIGKILL is sent.
38 # HELPER_SOFT_TIMEOUT="15"
39 # HELPER_HARD_TIMEOUT="5"
41 # HELPER_USR: For security reasons, the helper vm is not adviced to to run as
42 # root. It should drop privileges just before the guest execution starts. The
43 # user the helper vm should run as is specifies by HELPER_USR variable.
44 # HELPER_USER="nobody"
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"
50 # HELPER_EXTRA_PKGS: Extra packages that will need to be supplied to de supplied
51 # to debootstrap to make the resulting helper image workable
52 # HELPER_EXTRA_PKGS="linux-image-amd64,e2fsprogs,ntfs-3g,ntfsprogs,xmlstarlet,python"
54 # Paths for needed programs. Uncommend and change the variables below, if you
55 # don't want to use the default one.
60 # INSTALL_MBR="install-mbr"
61 # TIMELIMIT="timelimit"
62 # if [ "$windows_support" = "yes" ] ; then
63 # PROGRESS_MONITOR="snf-progress-monitor"