KERNEL_ARGS="$KERNEL_ARGS biosdevname=0"
# making sure selinux is turned off - somehow this is needed with lxc/f14
KERNEL_ARGS="$KERNEL_ARGS selinux=0"
- # set default target for systemd
- KERNEL_ARGS="$KERNEL_ARGS systemd.unit=pl_boot.target"
+# cannot use this mecahnism to set systemd default target because this applies to kexec boots as well
+# # set default target for systemd
+# KERNEL_ARGS="$KERNEL_ARGS systemd.unit=pl_boot.target"
# output more systemd-related messages on the console
KERNEL_ARGS="$KERNEL_ARGS systemd.log_level=debug systemd.log_target=kmsg"
[ -n "$KERNEL_ARGS" ] && echo "$KERNEL_ARGS" > $OVERLAY/kargs.txt
for file in pl_boot.service pl_boot.target ; do
install -D -m 644 systemd/$file $bootcd/etc/systemd/system
done
+ # select pl_boot target this way instead of using kargs, as kargs apply to kexec boot as well
+ ln -sf /etc/systemd/system/pl_boot.target $bootcd/etc/systemd/system/default.target
fi
# Install fallback node configuration file