Revision c4661256

b/common.sh.in
139 139

  
140 140
trap cleanup EXIT
141 141

  
142
DEFAULT_FILE="@sysconfdir@/default/ganeti-instance-debootstrap"
142
DEFAULT_FILE="@DEFAULTS_DIR@/ganeti-instance-image"
143 143
if [ -f "$DEFAULT_FILE" ]; then
144 144
    . "$DEFAULT_FILE"
145 145
fi
b/configure.ac
16 16
  [os_dir="$datadir/ganeti/os"])
17 17
AC_SUBST(OS_DIR, $os_dir)
18 18

  
19
# --with-defaults-dir=...
20
AC_ARG_WITH([defaults-dir],
21
  [AS_HELP_STRING([--with-defaults-dir=DIR],
22
    [top-level defaults config directory under which to install]
23
    [ (default is $sysconfdif/defaults)]
24
  )],
25
  [defaults_dir="$withval"],
26
  [defaults_dir="$sysconfdir/defaults"])
27
AC_SUBST(DEFAULTS_DIR, $defaults_dir)
28

  
19 29
# Check common programs
20 30
AC_PROG_INSTALL
21 31
AC_PROG_LN_S

Also available in: Unified diff