Revision 68dccc07
b/configure.ac | ||
---|---|---|
14 | 14 |
[ssh_initd_script="/etc/init.d/ssh"]) |
15 | 15 |
AC_SUBST(SSH_INITD_SCRIPT, $ssh_initd_script) |
16 | 16 |
|
17 |
# --with-export-dir=... |
|
18 |
AC_ARG_WITH([export-dir], |
|
19 |
[AS_HELP_STRING([--with-export-dir=DIR], |
|
20 |
[directory to use by default for instance image exports (default is /srv/ganeti/export)] |
|
21 |
)], |
|
22 |
[export_dir="$withval"], |
|
23 |
[export_dir="/srv/ganeti/export"]) |
|
24 |
AC_SUBST(EXPORT_DIR, $export_dir) |
|
25 |
|
|
17 | 26 |
# Check common programs |
18 | 27 |
AC_PROG_INSTALL |
19 | 28 |
|
b/lib/Makefile.am | ||
---|---|---|
16 | 16 |
echo "LOCALSTATEDIR = '$(localstatedir)'"; \ |
17 | 17 |
echo "SYSCONFDIR = '$(sysconfdir)'"; \ |
18 | 18 |
echo "SSH_INITD_SCRIPT = '$(SSH_INITD_SCRIPT)'"; \ |
19 |
echo "EXPORT_DIR = '$(EXPORT_DIR)'"; \ |
|
19 | 20 |
} > $@ |
b/lib/constants.py | ||
---|---|---|
50 | 50 |
LOG_NODESERVER = LOG_DIR + "/node-daemon.log" |
51 | 51 |
|
52 | 52 |
OS_DIR = "/srv/ganeti/os" |
53 |
EXPORT_DIR = "/srv/ganeti/export"
|
|
53 |
EXPORT_DIR = _autoconf.EXPORT_DIR
|
|
54 | 54 |
|
55 | 55 |
EXPORT_CONF_FILE = "config.ini" |
56 | 56 |
|
Also available in: Unified diff