summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile.am3
-rw-r--r--network/80-container-host0.network6
2 files changed, 8 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 0699712686..647e993a5f 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -2464,7 +2464,8 @@ INSTALL_DIRS += \
$(sysconfdir)/udev/hwdb.d
dist_network_DATA = \
- network/99-default.link
+ network/99-default.link \
+ network/80-container-host0.network
dist_udevrules_DATA += \
rules/99-systemd.rules \
diff --git a/network/80-container-host0.network b/network/80-container-host0.network
new file mode 100644
index 0000000000..d49fba0d6e
--- /dev/null
+++ b/network/80-container-host0.network
@@ -0,0 +1,6 @@
+[Match]
+Virtualization=container
+Name=host0
+
+[Network]
+DHCP=yes