# 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 # IMAGE_DIR="/var/lib/snf-image" # 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_INITRD: Path to the helper VM initial ramdisk # HELPER_INITRD="$(HELPER_DIR)/initrd" # HELPER_PKG: Path to the snf-image-helper package # HELPER_PKG="$(HELPER_DIR)/snf-image-helper.deb" # HELPER_TIMOUT: Soft and hard timeout limits for helper instance. # The helper instance will be terminated after a given time if it hasn't exited # by itself. # # When HELPER_SOFT_TIMEOUT seconds have passed, a SIGTERM is sent. # When HELPER_HARD_TIMEOUT seconds more have passed, a SIGKILL is sent. # HELPER_SOFT_TIMEOUT="15" # HELPER_HARD_TIMEOUT="5" # HELPER_USER: For security reasons, it is recommended that the helper VM # runs as an unprivileged user. KVM drops root privileges and runs as # HELPER_USER imeddiately before starting execution of the helper VM. # HELPER_USER="nobody" # HELPER_CACHE_FILE: Cache file update-helper script uses to avoid running # `debootstrap' all the time. # HELPER_CACHE_FILE="$(HELPER_DIR)/cache.tar" # HELPER_EXTRA_PKGS: Extra packages that will need to be supplied # to debootstrap to make the resulting helper image workable # HELPER_EXTRA_PKGS="linux-image-amd64,e2fsprogs,ntfs-3g,ntfsprogs,xmlstarlet,python" # 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" # QEMU_IMG="qemu-img" # INSTALL_MBR="install-mbr" # TIMELIMIT="timelimit" # PROGRESS_MONITOR="snf-progress-monitor"