Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dracut.sh): populate uefi_cmdline if no other cmdline is given
When creating uefi image in hostonly mode (with using --hostonly-cmdline), it makes sense to copy current kernel commandline from /proc/cmdline, in case there are no other options specified. Usually, the cmdline.d/*.conf file is generated by module rootfs-block (or other modules), but it might, not handle all cases correctly, and specifying --kernel-cmdline every time is not much user-friendly.
- Loading branch information