summaryrefslogtreecommitdiff
path: root/strata/foundation/systemd.morph
diff options
context:
space:
mode:
authorPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-12-10 15:32:17 +0000
committerPedro Alvarez <pedro.alvarez@codethink.co.uk>2014-12-10 15:32:17 +0000
commitae57ff3981c43723f2245f860417d96e0195dc04 (patch)
tree278c61be68913c739a553af5e0ea6bce90611027 /strata/foundation/systemd.morph
parent20d3b06ba1dcd1ad11d6f71804edb90a1d2be13f (diff)
downloaddefinitions-ae57ff3981c43723f2245f860417d96e0195dc04.tar.gz
Temporary Networkd fix to configure DHCP also in eth* interfacesbaserock/pedroalvarez/networkd-conf-fix
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.
Diffstat (limited to 'strata/foundation/systemd.morph')
-rw-r--r--strata/foundation/systemd.morph2
1 files changed, 1 insertions, 1 deletions
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