summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd-conf/wired.network
AgeCommit message (Collapse)Author
2021-06-17systemd-conf: Prevent systemd-network from managing veth interfacesMatt Spencer
We need to prevent systemd-network from managing veth interface when using platforms like k3s as they control creation and management of the interfaces. Signed-off-by: Matt Spencer <matt.spencer@arm.com> Signed-off-by: Ross Burton <ross.burton@arm.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2021-03-06systemd-conf: do not ask for DHCP if configured on kernel command lineStefan Schmidt
In cases where we configure the IP address and more on the kernel command line with ip= we should not ask for DHCP with systemd-networkd later on. We have such a setup with our runqemu script. With this match in place we can also deploy this unit on qemu systems. Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-12-06systemd-conf: match ethernet interfaces by type rather than globbingJack Mitchell
If we say we're enabling DHCP on wired/ethernet networks lets be more specific than trying to catch everything with globbing. Signed-off-by: Jack Mitchell <ml@embed.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2020-06-17systemd-conf: Accept MTU from DHCPDan McGregor
From: Daniel McGregor <daniel.mcgregor@vecima.com> Many local cloud deployments use MTUs other than 1500. To support them, accept MTU from DHCP by default. Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-19systemd-conf: not configure network for nfs rootKai Kang
It fails to boot nfs root with systemd that systemd-networkd re-configures wired network and breaks the connection with nfs root. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2019-06-04systemd-conf: configure wired network with dhcpKai Kang
Add a configure file for systemd.networkd to configure wired network interfaces with dhcp. It works with common network interfaces such eth0 and eno1. And do not install it for qemu bsps. Refer to https://github.com/YoeDistro/meta-yoe/tree/master/recipes-core/systemd [YOCTO #13057] Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>