Add a top level RUN_GANETI_DIR constant
authorIustin Pop <iustin@google.com>
Tue, 8 Jul 2008 14:42:05 +0000 (14:42 +0000)
committerIustin Pop <iustin@google.com>
Tue, 8 Jul 2008 14:42:05 +0000 (14:42 +0000)
commit75afaefc007446f767dcf6b3d8fdb18f514be73c
tree271cf1bbc2d203710e93927b046f61c82d416b80
parentbf94c0f5a05a00f42c6606b4987fbd8d0554f47a
Add a top level RUN_GANETI_DIR constant

This patch creates a base RUN_GANETI_DIR and then moves the other run
dir constants to use that (even if just setting BDEV_CACHE_DIR as equal
to it, rather than putting it deeper, for now).

Also we create a constant list of all the subdirs we need in RUN_DIR to
work properly, which we'll use when creating them in ganeti-noded.

Reviewed-by: iustinp
lib/constants.py