Commit 6c477482 authored by Anton Midyukov's avatar Anton Midyukov

net: add use/net/networkd/live

In live, need to generate network interfaces and for some cases (installer and rescue) bring up the network. In this case, one network interface and a timeout of 15 seconds are enough. Also, when booting via make-initrd, problems arise with systemd-network-generator, since they use the same arguments in the kernel cmdline. Therefore, systemd-networkd-generator should be disabled in live.
parent fc28b26b
...@@ -57,3 +57,8 @@ use/net/networkd/resolved: use/net/networkd ...@@ -57,3 +57,8 @@ use/net/networkd/resolved: use/net/networkd
use/net/networkd/resolved-stub: use/net/networkd use/net/networkd/resolved-stub: use/net/networkd
@$(call add,DEFAULT_SERVICES_ENABLE,systemd-resolved) @$(call add,DEFAULT_SERVICES_ENABLE,systemd-resolved)
@$(call set,SYSTEMD_RESOLVED,stub) @$(call set,SYSTEMD_RESOLVED,stub)
use/net/networkd/live: use/net/networkd
@$(call add,DEFAULT_SERVICES_DISABLE,systemd-network-generator)
@$(call add,LIVE_PACKAGES,systemd-networkd-wait-one-interface)
@$(call add,LIVE_PACKAGES,livecd-net-eth)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment