summaryrefslogtreecommitdiffstats
path: root/nova/flags.py
diff options
context:
space:
mode:
authorSoren Hansen <soren@linux2go.dk>2011-02-28 23:31:09 +0100
committerSoren Hansen <soren@linux2go.dk>2011-02-28 23:31:09 +0100
commitd5736e925f288462f6325130be0af49f0ace5884 (patch)
treed2bb401c930f083a8b415ccfa9984ffbe64790cd /nova/flags.py
parent8b3e9ad11c2f5c425701f1eb4abb7b3f577ae1cc (diff)
downloadnova-d5736e925f288462f6325130be0af49f0ace5884.tar.gz
nova-d5736e925f288462f6325130be0af49f0ace5884.tar.xz
nova-d5736e925f288462f6325130be0af49f0ace5884.zip
Add a lock_path flag for lock files.
Diffstat (limited to 'nova/flags.py')
-rw-r--r--nova/flags.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/nova/flags.py b/nova/flags.py
index 8cf199b2f..213d4d4e1 100644
--- a/nova/flags.py
+++ b/nova/flags.py
@@ -321,6 +321,8 @@ DEFINE_integer('auth_token_ttl', 3600, 'Seconds for auth tokens to linger')
DEFINE_string('state_path', os.path.join(os.path.dirname(__file__), '../'),
"Top-level directory for maintaining nova's state")
+DEFINE_string('lock_path', os.path.join(os.path.dirname(__file__), '../'),
+ "Directory for lock files")
DEFINE_string('logdir', None, 'output to a per-service log file in named '
'directory')