Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(iscsi): don't install the module if kernel doesn't support iscsi
The cmdline hook of iscsi module will force check if iscsi_tcp module is available, and abort the boot progress is not. But actually iscsi module shouldn't be allowed to be installed in the first place if the corresponding kernel doesn't support it. So print an warning and refuse to install the iscsi dracut module in such case, instead of dying on reboot. Signed-off-by: Kairui Song <kasong@tencent.com>
- Loading branch information