Commit 2b48dbca authored by Helga Velroyen's avatar Helga Velroyen
Browse files

Add default file storage path to path utils



This patch adds the default storage path to the pathutils
for now. At the end of this patch series, it will no longer
be determined at configure time and therefore be removed
from the configure.ac file.
Signed-off-by: default avatarHelga Velroyen <helgav@google.com>
Reviewed-by: default avatarKlaus Aehlig <aehlig@google.com>
parent d90f0cb4
......@@ -28,6 +28,9 @@ from ganeti import compat
from ganeti import vcluster
# FIXME: remove autoconf override
DEFAULT_FILE_STORAGE_DIR = "/srv/ganeti/file-storage"
# Build-time constants
if _autoconf.ENABLE_FILE_STORAGE:
DEFAULT_FILE_STORAGE_DIR = vcluster.AddNodePrefix(_autoconf.FILE_STORAGE_DIR)
......
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