If allinone and quantum selected, install basic network
Also ensures that selecting os-quantum-install=n on the CLI doesn't cause installation to error out. Change-Id: I1f4df4a93a1e7f4d513d47d4589792e8c39e13e0
This commit is contained in:
@@ -655,6 +655,15 @@ def single_step_aio_install(options):
|
|||||||
if not options.novanetwork_privif:
|
if not options.novanetwork_privif:
|
||||||
options.novanetwork_privif = "lo"
|
options.novanetwork_privif = "lo"
|
||||||
|
|
||||||
|
# If we are doing an all-in-one install and quantum isn't disabled
|
||||||
|
# go ahead and set up a basic network and external bridge unless
|
||||||
|
# specifically told not to
|
||||||
|
if options.os_quantum_install != "n":
|
||||||
|
if not options.provision_demo:
|
||||||
|
options.provision_demo = "y"
|
||||||
|
if not options.provision_all_in_one_ovs_bridge:
|
||||||
|
options.provision_all_in_one_ovs_bridge = "y"
|
||||||
|
|
||||||
single_step_install(options)
|
single_step_install(options)
|
||||||
|
|
||||||
def single_step_install(options):
|
def single_step_install(options):
|
||||||
|
|||||||
@@ -128,9 +128,11 @@ def marshall_conf_bool(conf, key):
|
|||||||
|
|
||||||
def initSequences(controller):
|
def initSequences(controller):
|
||||||
provisioning_required = (
|
provisioning_required = (
|
||||||
controller.CONF['CONFIG_PROVISION_DEMO'] == 'y'
|
(controller.CONF['CONFIG_QUANTUM_INSTALL']== 'y' and
|
||||||
|
(controller.CONF['CONFIG_PROVISION_DEMO'] == 'y'
|
||||||
or
|
or
|
||||||
controller.CONF['CONFIG_PROVISION_TEMPEST'] == 'y'
|
controller.CONF['CONFIG_PROVISION_TEMPEST'] == 'y')
|
||||||
|
)
|
||||||
)
|
)
|
||||||
if not provisioning_required:
|
if not provisioning_required:
|
||||||
return
|
return
|
||||||
|
|||||||
Reference in New Issue
Block a user