Skip to content
Snippets Groups Projects
Commit efc6c221 authored by Stefan Schmidt's avatar Stefan Schmidt
Browse files

systemd-conf: allow for runqemu and networkd compatibility

When we started to use the networkd unit for wired in qemu we also broke
the static IP configuration the runqemu script uses. The IP address, etc
are given as kernel commandline options for the static setup.

If we see this happening we can simply skip the networkd unit file for
DHCP setup as we know a static IP config was provided.

The key part of the imported unit file here is the KernelCommandLine=!ip
line in the match section to skip the unit if IP is present in the
commandline.

Closes: https://git.ostc-eu.org/OSTC/OHOS/meta-ohos/-/issues/29



Signed-off-by: default avatarStefan Schmidt <stefan.schmidt@huawei.com>
parent b21aee8c
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment