mirror of
https://github.com/systemd/systemd
synced 2024-07-21 18:24:38 +00:00
![Tom Gundersen](/assets/img/avatar_default.png)
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.
7 lines
64 B
SYSTEMD
7 lines
64 B
SYSTEMD
[Match]
|
|
Virtualization=container
|
|
Name=host0
|
|
|
|
[Network]
|
|
DHCP=yes
|