Small fixes.

This commit is contained in:
Adam Gandelman 2013-05-22 16:00:14 -07:00
parent 9e59178892
commit c933951440
3 changed files with 3 additions and 3 deletions

View File

@ -31,7 +31,7 @@ def config_changed():
if (available and if (available and
openstack.get_os_version_codename(available) > \ openstack.get_os_version_codename(available) > \
openstack.get_os_version_codename(installed)): openstack.get_os_version_codename(installed)):
qutils.do_openstack_upgrade(src) qutils.do_openstack_upgrade()
if PLUGIN in qutils.GATEWAY_PKGS.keys(): if PLUGIN in qutils.GATEWAY_PKGS.keys():
render_quantum_conf() render_quantum_conf()

View File

@ -239,7 +239,7 @@ def do_openstack_upgrade():
plugin = config_get('plugin') plugin = config_get('plugin')
pkgs = [] pkgs = []
if plugin in GATEWAY_PKGS.keys(): if plugin in GATEWAY_PKGS.keys():
pkgs.append(GATEWAY_PKGS[plugin]) pkgs += GATEWAY_PKGS[plugin]
if plugin == OVS: if plugin == OVS:
pkgs.append('openvswitch-datapath-dkms') pkgs.append('openvswitch-datapath-dkms')
cmd = ['apt-get', '--option', 'Dpkg::Options::=--force-confnew', '-y', cmd = ['apt-get', '--option', 'Dpkg::Options::=--force-confnew', '-y',

View File

@ -1 +1 @@
54 56