diff options
author | Steve Baker <sbaker@redhat.com> | 2021-11-30 11:25:43 +1300 |
---|---|---|
committer | Steve Baker <sbaker@redhat.com> | 2021-12-10 15:44:50 +1300 |
commit | 3f76724dfb49df9501359e9b97acb1fc9c7689c8 (patch) | |
tree | a8ada7cc369e2287ace3b69e0aacc71458a4f592 /doc | |
parent | 45e8adc1df26f2b940603b2f85d54c0ffcfdfa66 (diff) | |
download | ironic-3f76724dfb49df9501359e9b97acb1fc9c7689c8.tar.gz |
Write initial grub config on startup
This change removes the documentation to copy master_grub_cfg.txt to
/tftpboot/grub/grub.cfg and instead writes it on conductor startup.
This grub config is a simple redirect config requested by grub network
boot. "master" has been renamed to "initial" as a more accurate label
of its function.
New configuration option [pxe]initial_grub_template allows the deployer
to specify a different initial grub template.
Change-Id: I71191dd399a6c49607f91d69b5b1673799a38624
Diffstat (limited to 'doc')
-rw-r--r-- | doc/source/install/configure-pxe.rst | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/doc/source/install/configure-pxe.rst b/doc/source/install/configure-pxe.rst index 0d084d839..59346ce14 100644 --- a/doc/source/install/configure-pxe.rst +++ b/doc/source/install/configure-pxe.rst @@ -157,38 +157,6 @@ the PXE UEFI environment. sudo cp /usr/lib64/efi/shim.efi /tftpboot/bootx64.efi sudo cp /usr/lib/grub2/x86_64-efi/grub.efi /tftpboot/grubx64.efi -#. Create master grub.cfg: - - Ubuntu: Create grub.cfg under ``/tftpboot/grub`` directory:: - - GRUB_DIR=/tftpboot/grub - - Fedora: Create grub.cfg under ``/tftpboot/EFI/fedora`` directory:: - - GRUB_DIR=/tftpboot/EFI/fedora - - RHEL8/CentOS8: Create grub.cfg under ``/tftpboot/EFI/centos`` directory:: - - GRUB_DIR=/tftpboot/EFI/centos - - SUSE: Create grub.cfg under ``/tftpboot/boot/grub`` directory:: - - GRUB_DIR=/tftpboot/boot/grub - - Create directory ``GRUB_DIR``:: - - sudo mkdir -p $GRUB_DIR - - This file is used to redirect grub to baremetal node specific config file. - It redirects it to specific grub config file based on DHCP IP assigned to - baremetal node. - - .. literalinclude:: ../../../ironic/drivers/modules/master_grub_cfg.txt - - Change the permission of grub.cfg:: - - sudo chmod 644 $GRUB_DIR/grub.cfg - #. Update the bare metal node with ``boot_mode:uefi`` capability in node's properties field. See :ref:`boot_mode_support` for details. |