ho-ansible / ansible

Playbooks and config for remote administration
1 stars 0 forks source link

systemd-networkd: no DHCP on OpenVZ #54

Closed seanho00 closed 7 years ago

seanho00 commented 7 years ago

systemd's internal dhcp client requires a recent kernel instead of OpenVZ's ancient one. So I think we still need dhcpcd5 on OpenVZ. Then we also need to use something other than systemd-networkd to configure the VPN interface -- either a tinc-up script that calls dhcpcd manually, or an entry in /etc/network/interfaces.

seanho00 commented 7 years ago

But we can still let systemd-networkd configure the interface when we're not using DHCP; e.g. on the VPN servers (one of which is OpenVZ).