Switch to nova's new flag API.
This commit is contained in:
parent
72a5596e50
commit
9e2351f5eb
|
@ -132,8 +132,7 @@ if __name__ == '__main__':
|
||||||
parser.error("SSL only and %s not found" % FLAGS.cert)
|
parser.error("SSL only and %s not found" % FLAGS.cert)
|
||||||
|
|
||||||
# Setup flags
|
# Setup flags
|
||||||
utils.default_flagfile()
|
flags.parse_args(sys.argv)
|
||||||
FLAGS(sys.argv)
|
|
||||||
|
|
||||||
# Create and start the NovaWebSockets proxy
|
# Create and start the NovaWebSockets proxy
|
||||||
server = NovaWebSocketProxy(listen_host=FLAGS.novncproxy_host,
|
server = NovaWebSocketProxy(listen_host=FLAGS.novncproxy_host,
|
||||||
|
|
Loading…
Reference in New Issue