Skip to content
Snippets Groups Projects
defaults 1.83 KiB
# snf-image defaults file

# IMAGE_NAME: Name of the image to use
# Generally you use the name of the image with the version of the OS included.
# Examples include:
#   centos-5.4 debian-4.0 fedora-12
# IMAGE_NAME=""

# IMAGE_DIR: directory location for disk images
# ( default is @localstatedir@/cache/ganeti-instance-image )
# IMAGE_DIR=""

# ARCH: Define the ARCH of the image to use
# Use either x86 or x86_64
# ARCH="x86_64"

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

# HELPER_DIR: Directory hosting the helper files
# HELPER_DIR: /var/lib/snf-image/helper/

# HELPER_IMG: Path to the helper VM image
# HELPER_IMG="$(HELPER_DIR)/image"

# HELPER_KERNEL: Path to the helper VM kernel
# HELPER_KERNEL="$(HELPER_DIR)/kernel"

# HELPER_PKG: Path to the snf-image-helper package
# HELPER_PKG="$(HELPER_DIR)/snf-image-helper.deb"

# HELPER_INITRD: Path to the helper VM initial ramdisk
# HELPER_INITRD="$(HELPER_DIR)/initrd"

# HELPER_TIMOUT: Soft and hard timeout limits for helper instance.
# Helper instance will be terminated after a given time if it hasn't exited by
# itself. The time to wait before killing the process is specified by those
# variables. When soft/hard limit expires, a SIGTERM/SIGKILL is sent.
# HELPER_SOFT_TIMEOUT="120"
# HELPER_HARD_TIMEOUT="15"

# HELPER_USR: For security reasons, the helper vm is not adviced to to run as
# root. It should drop privileges just before the guest execution starts. The
# user the helper vm should run as is specifies by HELPER_USR variable.
# HELPER_USER="nobody"

# Paths for needed programs. Uncommend and change the variables below, if you
# don't want to use the default one.
# LOSETUP="losetup"
# KPARTX="kpartx"
# SFDISK="sfdisk"
# INSTALL_MBR="install-mbr"
# TIMELIMIT="timelimit"
# if [ "$windows_support" = "yes" ] ; then
#     PROGRESS_MONITOR="snf-progress-monitor"
# fi