diskimage-builder/diskimage_builder/elements/iscsi-boot
Yolanda Robla 853e13c6c3 Change phase to check for dracut-regenerate in iscsi-boot
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
2019-01-02 11:05:00 +01:00
..
environment.d Change phase to check for dracut-regenerate in iscsi-boot 2019-01-02 11:05:00 +01:00
extra-data.d Change phase to check for dracut-regenerate in iscsi-boot 2019-01-02 11:05:00 +01:00
finalise.d Add iscsi-boot element for CentOS images 2018-06-25 12:01:52 +00:00
post-install.d Add iscsi-boot element 2018-06-14 08:56:03 +07:00
README.rst Add iscsi-boot element for CentOS images 2018-06-25 12:01:52 +00:00
element-deps Add iscsi-boot element 2018-06-14 08:56:03 +07:00
package-installs.yaml Add iscsi-boot element 2018-06-14 08:56:03 +07:00

README.rst

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 sets ISCSI_AUTO=true within it.
  • Updates the initramfs to apply the changes.
For CentOS7 images:
  • Required dracut-regenerate element when performs disk-image-create.
  • Updates network and iscsi into dracut-regenerate during pre-installs.
  • Updates GRUB_CMDLINE_LINUX_DEFAULT into /etc/default/grub.