2017-10-12 14:38:23 +00:00
|
|
|
==========
|
|
|
|
iscsi-boot
|
|
|
|
==========
|
|
|
|
Handles configuration for the disk to be capable of serving as
|
|
|
|
a remote root filesystem through iSCSI. Currently, this element
|
2018-02-09 08:05:33 +00:00
|
|
|
can configure Ubuntu/Debian images and CentOS7 images.
|
2017-10-12 14:38:23 +00:00
|
|
|
|
|
|
|
It performs the following actions:
|
|
|
|
|
2018-02-09 08:05:33 +00:00
|
|
|
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``.
|