changeset 11:3936b3fdee1a

Read config
author Radomir Dopieralski <sheep-devel@sheep.art.pl>
date Mon, 11 Feb 2013 16:54:03 +0100
parents 8c94e2bf19a9
children 865dcd43dfe4
files srxproxy.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/srxproxy.py	Mon Feb 11 15:20:19 2013 +0100
+++ b/srxproxy.py	Mon Feb 11 16:54:03 2013 +0100
@@ -6,6 +6,7 @@
 from nova.rpc import amqp
 from nova import log
 from nova import flags
+from nova import utils
 from nova import exception
 from nova.network.manager import NetworkManager
 
@@ -231,6 +232,7 @@
 
 
 if __name__ == '__main__':
+    utils.default_flagfile('/etc/nova/nova.conf')
     log.setup()
     log.root.setLevel(log.DEBUG)
     eventlet.monkey_patch()