add back utils.default_flagflie
This commit is contained in:
@@ -52,4 +52,5 @@ def main():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
utils.default_flagfile()
|
||||||
main()
|
main()
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ if os.path.exists(os.path.join(possible_topdir, 'nova', '__init__.py')):
|
|||||||
from nova import api
|
from nova import api
|
||||||
from nova import flags
|
from nova import flags
|
||||||
from nova import service
|
from nova import service
|
||||||
|
from nova import utils
|
||||||
from nova import wsgi
|
from nova import wsgi
|
||||||
|
|
||||||
|
|
||||||
@@ -50,6 +51,7 @@ flags.DEFINE_string('ec2api_host', '0.0.0.0', 'EC2 API host')
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
utils.default_flagfile()
|
||||||
FLAGS(sys.argv)
|
FLAGS(sys.argv)
|
||||||
|
|
||||||
compute = service.Service.create(binary='nova-compute')
|
compute = service.Service.create(binary='nova-compute')
|
||||||
|
|||||||
@@ -34,7 +34,9 @@ if os.path.exists(os.path.join(possible_topdir, 'nova', '__init__.py')):
|
|||||||
sys.path.insert(0, possible_topdir)
|
sys.path.insert(0, possible_topdir)
|
||||||
|
|
||||||
from nova import service
|
from nova import service
|
||||||
|
from nova import utils
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
utils.default_flagfile()
|
||||||
service.serve()
|
service.serve()
|
||||||
service.wait()
|
service.wait()
|
||||||
|
|||||||
@@ -34,7 +34,9 @@ if os.path.exists(os.path.join(possible_topdir, 'nova', '__init__.py')):
|
|||||||
sys.path.insert(0, possible_topdir)
|
sys.path.insert(0, possible_topdir)
|
||||||
|
|
||||||
from nova import service
|
from nova import service
|
||||||
|
from nova import utils
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
utils.default_flagfile()
|
||||||
service.serve()
|
service.serve()
|
||||||
service.wait()
|
service.wait()
|
||||||
|
|||||||
@@ -34,7 +34,9 @@ if os.path.exists(os.path.join(possible_topdir, 'nova', '__init__.py')):
|
|||||||
sys.path.insert(0, possible_topdir)
|
sys.path.insert(0, possible_topdir)
|
||||||
|
|
||||||
from nova import service
|
from nova import service
|
||||||
|
from nova import utils
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
utils.default_flagfile()
|
||||||
service.serve()
|
service.serve()
|
||||||
service.wait()
|
service.wait()
|
||||||
|
|||||||
@@ -34,7 +34,9 @@ if os.path.exists(os.path.join(possible_topdir, 'nova', '__init__.py')):
|
|||||||
sys.path.insert(0, possible_topdir)
|
sys.path.insert(0, possible_topdir)
|
||||||
|
|
||||||
from nova import service
|
from nova import service
|
||||||
|
from nova import utils
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
utils.default_flagfile()
|
||||||
service.serve()
|
service.serve()
|
||||||
service.wait()
|
service.wait()
|
||||||
|
|||||||
Reference in New Issue
Block a user