From ae57ff3981c43723f2245f860417d96e0195dc04 Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Wed, 10 Dec 2014 15:32:17 +0000 Subject: Temporary Networkd fix to configure DHCP also in eth* interfaces We assumed that the ethernet interfaces always were going to be called en* (e.g. ens3) when using the new version of systemd (v217), but sometimes these interfaces can be called eth* (e.g. eth0). If this happens the current configuration is not enough. This patch is to enable DHCP also in eth* interfaces. --- strata/foundation/systemd.morph | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/strata/foundation/systemd.morph b/strata/foundation/systemd.morph index 1ee23cb8..c298748a 100644 --- a/strata/foundation/systemd.morph +++ b/strata/foundation/systemd.morph @@ -21,7 +21,7 @@ post-install-commands: - | cat > "$DESTDIR/etc/systemd/network/10-dhcp.network" << "EOF" [Match] - Name=en* + Name=e* [Network] DHCP=yes -- cgit v1.2.1