Move default shared file storage directory to pathutils
authorHelga Velroyen <helgav@google.com>
Tue, 23 Jul 2013 12:37:19 +0000 (14:37 +0200)
committerHelga Velroyen <helgav@google.com>
Mon, 29 Jul 2013 12:26:58 +0000 (14:26 +0200)
This patch moves the default shared-file storage directory
to the pathutils file. It will be removed from configure.ac
at the end of this patch series.

Signed-off-by: Helga Velroyen <helgav@google.com>
Reviewed-by: Thomas Thrainer <thomasth@google.com>

lib/pathutils.py

index 496ceea..0401546 100644 (file)
@@ -32,6 +32,7 @@ from ganeti import vcluster
 DEFAULT_FILE_STORAGE_DIR = "/srv/ganeti/file-storage"
 DEFAULT_FILE_STORAGE_DIR = vcluster.AddNodePrefix(DEFAULT_FILE_STORAGE_DIR)
 
+DEFAULT_SHARED_FILE_STORAGE_DIR = "/srv/ganeti/shared-file-storage"
 if _autoconf.ENABLE_SHARED_FILE_STORAGE:
   DEFAULT_SHARED_FILE_STORAGE_DIR = \
     vcluster.AddNodePrefix(_autoconf.SHARED_FILE_STORAGE_DIR)