Fix bug causing install to fail as neutron-common not installed yet
This commit is contained in:
parent
ede7d8ae8d
commit
5f6058e843
@ -83,6 +83,8 @@ def get_os_codename_install_source(src):
|
||||
'''Derive OpenStack release codename from a given installation source.'''
|
||||
ubuntu_rel = lsb_release()['DISTRIB_CODENAME']
|
||||
rel = ''
|
||||
if src is None:
|
||||
return rel
|
||||
if src in ['distro', 'distro-proposed']:
|
||||
try:
|
||||
rel = UBUNTU_OPENSTACK_RELEASE[ubuntu_rel]
|
||||
|
@ -38,7 +38,7 @@ def determine_packages():
|
||||
|
||||
|
||||
def register_configs(release=None):
|
||||
release = release or os_release('neutron-common')
|
||||
release = release or os_release('neutron-common', base='icehouse')
|
||||
configs = templating.OSConfigRenderer(templates_dir=TEMPLATES,
|
||||
openstack_release=release)
|
||||
for cfg, rscs in resource_map().iteritems():
|
||||
|
Loading…
Reference in New Issue
Block a user