summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/systemd/systemd-conf/wired.network
Commit message (Collapse)AuthorAgeFilesLines
* systemd-conf: Prevent systemd-network from managing veth interfacesMatt Spencer2021-06-171-0/+1
| | | | | | | | | | | | We need to prevent systemd-network from managing veth interface when using platforms like k3s as they control creation and management of the interfaces. (From OE-Core rev: b615bb279730ce3e0c4b4098a9e43700f2f095af) 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>
* systemd-conf: do not ask for DHCP if configured on kernel command lineStefan Schmidt2021-03-061-0/+1
| | | | | | | | | | | | | 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. (From OE-Core rev: 8c4981e740c0e630200dbc77c9e3dfd3e43b790b) Signed-off-by: Stefan Schmidt <stefan.schmidt@huawei.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-conf: match ethernet interfaces by type rather than globbingJack Mitchell2020-12-061-1/+1
| | | | | | | | | | If we say we're enabling DHCP on wired/ethernet networks lets be more specific than trying to catch everything with globbing. (From OE-Core rev: a2bf422cc498bebfbeedc9382b2cc1533f78bbfd) Signed-off-by: Jack Mitchell <ml@embed.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-conf: Accept MTU from DHCPDaniel McGregor2020-06-171-0/+1
| | | | | | | | | | Many local cloud deployments use MTUs other than 1500. To support them, accept MTU from DHCP by default. (From OE-Core rev: 60ff220548125bbdc6812669af711fb3650d87aa) Signed-off-by: Daniel McGregor <daniel.mcgregor@vecima.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-conf: not configure network for nfs rootKai Kang2019-06-191-0/+1
| | | | | | | | | | It fails to boot nfs root with systemd that systemd-networkd re-configures wired network and breaks the connection with nfs root. (From OE-Core rev: 2abfbf186989223d5d256c25e0b52b02f29d5bfb) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* systemd-conf: configure wired network with dhcpKai Kang2019-06-041-0/+9
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] (From OE-Core rev: d87efd14ce0471135c0aa7fd7b5da2808acb9c76) Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>