chiark / gitweb /
networkd/nspawn: enable dhcp client on veth device created in guest
authorTom Gundersen <teg@jklm.no>
Fri, 21 Feb 2014 21:44:42 +0000 (22:44 +0100)
committerTom Gundersen <teg@jklm.no>
Sat, 22 Feb 2014 17:29:43 +0000 (18:29 +0100)
commitdd4d2c1cd1eb7c1f3163f6f922362af3189df0a3
tree6bf7d402da80c76f219f38375ef378c47cf5fd36
parent0031ccd3060593f8c411e76a7764dffe8326f21f
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.
Makefile.am
network/80-container-host0.network [new file with mode: 0644]