diff options
author | Tom Gundersen <teg@jklm.no> | 2014-02-21 22:44:42 +0100 |
---|---|---|
committer | Tom Gundersen <teg@jklm.no> | 2014-02-22 18:29:43 +0100 |
commit | dd4d2c1cd1eb7c1f3163f6f922362af3189df0a3 (patch) | |
tree | 6bf7d402da80c76f219f38375ef378c47cf5fd36 /network | |
parent | build-sys: create /var/log/journal/ in journald section (diff) | |
download | systemd-dd4d2c1cd1eb7c1f3163f6f922362af3189df0a3.tar.gz systemd-dd4d2c1cd1eb7c1f3163f6f922362af3189df0a3.tar.bz2 systemd-dd4d2c1cd1eb7c1f3163f6f922362af3189df0a3.zip |
networkd/nspawn: enable dhcp client on veth device created in guest
When starting systemd-nspawn with --network-veth, we create a veth device called
host0 in the guest. Pick up on this and start a dhcp client on it. We will also
pick up host0 netdevs created by other containers should they chose to use the
same name.
Diffstat (limited to 'network')
-rw-r--r-- | network/80-container-host0.network | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/network/80-container-host0.network b/network/80-container-host0.network new file mode 100644 index 000000000..d49fba0d6 --- /dev/null +++ b/network/80-container-host0.network @@ -0,0 +1,6 @@ +[Match] +Virtualization=container +Name=host0 + +[Network] +DHCP=yes |