diskimage-builder/diskimage_builder/elements/iscsi-boot/environment.d/open-iscsi-config
Xinliang Liu fd850475ea Make iscsi-boot element support centos 8
This patch makes iscsi-boot element support not only just
DISTRO_NAME centos7 but also centos and centos-minimal.

Change-Id: I8db8b01f35b2e572666badd8d2316d24a5e4287a
2020-08-25 09:28:27 +00:00

8 lines
152 B
Text

if [[ $DISTRO_NAME =~ "centos" ]]; then
DIB_DRACUT_ENABLED_MODULES+="
- name: network
- name: iscsi
"
export DIB_DRACUT_ENABLED_MODULES
fi