Use ConfigOpts.find_file() to find paste config

Use cfg's new helper method to find the paste deploy config file. The
basic behavior is "look alongside the config file" with a fall back to
the standard default config paths.

Change-Id: If7a9ac1d456f372e3f5f6c78e237a7b099d1a30e
This commit is contained in:
Mark McLoughlin
2012-05-04 10:46:06 +01:00
parent 42062a9d7a
commit cb9c24f8f3

View File

@@ -43,3 +43,4 @@ FLAGS.set_default('flat_network_bridge', 'br100')
FLAGS.set_default('sqlite_synchronous', False)
flags.DECLARE('policy_file', 'nova.policy')
flags.DECLARE('compute_scheduler_driver', 'nova.scheduler.multi')
FLAGS.set_default('api_paste_config', '$state_path/etc/nova/api-paste.ini')