diff options
author | Neil Williams <codehelp@debian.org> | 2016-07-31 15:40:01 +0100 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2016-07-31 15:40:01 +0100 |
commit | ea0b38bb901d2e224f829e540dc50ed13b4d204e (patch) | |
tree | bd423c86242791e952ec46dd8de8d254eb867da0 | |
parent | 369740cc28df41007a08b9690ee9df4958b4e03f (diff) | |
download | vmdebootstrap-ea0b38bb901d2e224f829e540dc50ed13b4d204e.tar.gz |
ensure eth0 exists for jessie if dhcp requested
-rwxr-xr-x | bin/vmdebootstrap | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/vmdebootstrap b/bin/vmdebootstrap index 006e4af..dc16c61 100755 --- a/bin/vmdebootstrap +++ b/bin/vmdebootstrap @@ -321,6 +321,9 @@ class VmDebootstrap(cliapp.Application): # pylint: disable=too-many-public-meth network.systemd_support(rootdir) if not distro.was_stable(datetime.date(2015, 4, 26)): network.enable_systemd_resolved(rootdir) + else: + # /etc/network/interfaces.d/ + network.setup_networking(rootdir) else: # /etc/network/interfaces.d/ network.setup_networking(rootdir) |