Commit fd0c1f7d authored by Nikos Skalkotos's avatar Nikos Skalkotos
Browse files

Make defaults file inherit the ./configure options

parent 68d58128
osname=$(PACKAGE)
osname=snf-image
osdir=$(OS_DIR)/$(osname)
defaultdir=$(DEFAULT_DIR)
exampledir = $(datarootdir)/doc/$(PACKAGE)
variantsdir=${sysconfdir}/ganeti/snf-image/variants
dist_os_SCRIPTS = ${srcdir}/create ${srcdir}/import ${srcdir}/export \
......@@ -15,6 +16,8 @@ dist_bin_SCRIPTS = snf-image-update-helper
os_DATA = common.sh
example_DATA = defaults multistrap.conf version_pinning.pref repo_pinning.pref
edit = sed \
-e 's|@sysconfdir[@]|$(sysconfdir)|g' \
-e 's|@localstatedir[@]|$(localstatedir)|g' \
......
AC_PREREQ(2.59)
AC_INIT(snf-image, 0.7.4, synnefo@lists.grnet.gr)
AC_INIT(snf-image-host, 0.7.4, synnefo@lists.grnet.gr)
AC_CONFIG_AUX_DIR(autotools)
AC_CONFIG_SRCDIR(configure)
......
......@@ -7,7 +7,7 @@
# IMAGE_NAME=""
# IMAGE_DIR: directory location for disk images
# IMAGE_DIR="/var/lib/snf-image"
# IMAGE_DIR="@localstatedir@/lib/snf-image"
# IMAGE_DEBUG: turn on debugging output for the scripts
# IMAGE_DEBUG=no
......@@ -15,10 +15,10 @@
# VERSION_CHECK: Check if host and helper have the
# same version. This is usefull if snf-image-host is
# installed as debian package and not from source.
# VERSION_CHECK="no"
# VERSION_CHECK="@VERSION_CHECK@"
# HELPER_DIR: Directory hosting the helper files
# HELPER_DIR="/var/lib/snf-image/helper/"
# HELPER_DIR="@localstatedir@/lib/snf-image/helper/"
# 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.
......@@ -37,28 +37,28 @@
# MULTISTRAP_CONFIG: Configuration file to be used with multistrap to create
# the rootfs of the helper image.
# MULTISTRAP_CONFIG="/etc/snf-image/multistrap.conf"
# MULTISTRAP_CONFIG="@MULTISTRAP_CONFIG@"
# MULTISTRAP_APTPREFDIR: Directory where apt preference files are hosted. Those
# files will be injected to the helper image before multistrap is called.
# MULTISTRAP_APTPREFDIR="/etc/snf-image/apt.pref.d"
# MULTISTRAP_APTPREFDIR="@MULTISTRAP_APTPREFDIR@"
# PITHOS_DB: Pithos database in SQLAlchemy format
# PITHOS_DB="sqlite:////var/lib/pithos/backend.db"
# PITHOS_DB="sqlite:////@localstatedir@/lib/pithos/backend.db"
# PITHOS_DATA: Directory where pithos data are hosted
# PITHOS_DATA="/var/lib/pithos/data"
# PITHOS_DATA="/@localstatedir@/lib/pithos/data"
# PROGRESS_MONITOR: External program that monitors the progress of the image
# deployment. The snf-image monitor messages will be redirected to the standard
# input of this program.
# PROGRESS_MONITOR=""
# PROGRESS_MONITOR="@PROGRESS_MONITOR@"
# UNATTEND: This variables overwrites the unattend.xml file used when deploying
# a windows image. snf-image-helper will use its own unattend.xml file if this
# variable is empty. Please unless you really know what you are doing, leave
# this empty.
# UNATTEND=""
# UNATTEND="@UNATTEND@"
# Paths for needed programs. Uncommend and change the variables below if you
# don't want to use the default one.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment