projects
/
ganeti-local
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0214b0c
)
Add file-storage-dir to configure.ac
author
Manuel Franceschini
<manuel.franceschini@gmail.com>
Wed, 19 Mar 2008 10:44:28 +0000
(10:44 +0000)
committer
Manuel Franceschini
<manuel.franceschini@gmail.com>
Wed, 19 Mar 2008 10:44:28 +0000
(10:44 +0000)
This adds the possibility to specify at configure-time the default file-storage-dir.
Author: manuel.franceschini
Reviewed-by: iustinp
configure.ac
patch
|
blob
|
history
diff --git
a/configure.ac
b/configure.ac
index
dd924a3
..
c869687
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-53,6
+53,16
@@
AC_ARG_WITH([xen-initrd],
[xen_initrd="/boot/initrd-2.6-xenU"])
AC_SUBST(XEN_INITRD, $xen_initrd)
+# --with-file-storage-dir=...
+AC_ARG_WITH([file-storage-dir],
+ [AS_HELP_STRING([--with-file-storage-dir=PATH],
+ [directory to store files for file-based backend]
+ [ (default is /srv/ganeti/file-storage)]
+ )],
+ [file_storage_dir="$withval"],
+ [file_storage_dir="/srv/ganeti/file-storage"])
+AC_SUBST(FILE_STORAGE_DIR, $file_storage_dir)
+
# Check common programs
AC_PROG_INSTALL
AC_PROG_LN_S