Fixed up quantum starting (it works!).

This commit is contained in:
Joshua Harlow
2012-01-26 17:30:03 -08:00
parent 4541040d3f
commit c8c2326bae
5 changed files with 57 additions and 6 deletions

View File

@@ -102,11 +102,14 @@ class QuantumInstaller(comp.PkgInstallComponent):
return places
def _get_pkglist(self):
pkglist = comp.PkgInstallComponent._get_pkglist(self)
if self.q_vswitch_service:
listing_fn = sh.joinpths(settings.STACK_PKG_DIR, PKG_VSWITCH)
return utils.extract_pkg_list([listing_fn], self.distro)
else:
return comp.PkgInstallComponent._get_pkglist(self)
vswitchpkgs = utils.extract_pkg_list([listing_fn], self.distro)
if vswitchpkgs:
for (pkgname, pkginfo) in vswitchpkgs.items():
pkglist[pkgname] = pkginfo
return pkglist
def _get_config_files(self):
parent_list = comp.PkgInstallComponent._get_config_files(self)