
7 Jan
2021
7 Jan
'21
4:59 p.m.
+ initrds_uri = initrds_uri.as_a.map(&.as_s.lchop("initrd ")) if initrds_uri
+ kernel_params = kernel_params.as_a.map(&.to_s).reject(&.starts_with?("initrd=")).join(" ") if kernel_params
Looks some scheduler logic can be made more straight. initrd=xxx kernel params are only necessary for ipxe boot? So should only be set there. Instead of setting everywhere, only to unset here. Thanks, Fengguang