Merge pull request #414 from CMeza99/netbase

allow networking task when netbase pkg is present
This commit is contained in:
Anders Ingemann 2017-11-23 08:06:54 +01:00 committed by GitHub
commit 9445273b8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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,