allow networking task when netbase pkg is present

This commit is contained in:
Carlos Meza 2017-11-22 20:19:54 -08:00
parent 38fc7c5240
commit 5824d0775e

View file

@ -96,7 +96,10 @@ ssh_group = [ssh.AddOpenSSHPackage,
def get_network_group(manifest):
if manifest.bootstrapper.get('variant', None) == 'minbase':
if (
manifest.bootstrapper.get('variant', None) == 'minbase' and
'netbase' not in manifest.bootstrapper.get('include_packages', [])
):
# minbase has no networking
return []
group = [network.ConfigureNetworkIF,