
There is an use of get_image_element_array on the environment.d phase, for the iscsi-boot element. This function is not available on that step. So moving the check at next step, extra-data-d, where it is available. Change-Id: I89cfe565492142c2f7962109360fcbcebadfd469
iscsi-boot
Handles configuration for the disk to be capable of serving as a remote root filesystem through iSCSI. Currently, this element can configure Ubuntu/Debian images and CentOS7 images.
It performs the following actions:
- For Ubuntu/Debian images:
-
- Installs the
open-iscsi
package. - Creates the
etc/iscsi/iscsi.initramfs
configuration file and setsISCSI_AUTO=true
within it. - Updates the initramfs to apply the changes.
- Installs the
- For CentOS7 images:
-
- Required
dracut-regenerate
element when performsdisk-image-create
. - Updates
network
andiscsi
intodracut-regenerate
during pre-installs. - Updates
GRUB_CMDLINE_LINUX_DEFAULT
into/etc/default/grub
.
- Required