Revision 75afaefc
b/lib/constants.py | ||
---|---|---|
80 | 80 |
# file paths |
81 | 81 |
DATA_DIR = _autoconf.LOCALSTATEDIR + "/lib/ganeti" |
82 | 82 |
RUN_DIR = _autoconf.LOCALSTATEDIR + "/run" |
83 |
BDEV_CACHE_DIR = RUN_DIR + "/ganeti" |
|
84 |
DISK_LINKS_DIR = RUN_DIR + "/ganeti/instance-disks" |
|
83 |
RUN_GANETI_DIR = RUN_DIR + "/ganeti" |
|
84 |
BDEV_CACHE_DIR = RUN_GANETI_DIR # TODO(2.0): move deeper |
|
85 |
DISK_LINKS_DIR = RUN_GANETI_DIR + "/instance-disks" |
|
86 |
# keep RUN_GANETI_DIR first here, to make sure all get created when the node |
|
87 |
# daemon is started (this takes care of RUN_DIR being tmpfs) |
|
88 |
SUB_RUN_DIRS = [ RUN_GANETI_DIR, BDEV_CACHE_DIR, DISK_LINKS_DIR ] |
|
85 | 89 |
LOCK_DIR = _autoconf.LOCALSTATEDIR + "/lock" |
86 | 90 |
CLUSTER_CONF_FILE = DATA_DIR + "/config.data" |
87 | 91 |
SSL_CERT_FILE = DATA_DIR + "/server.pem" |
Also available in: Unified diff