Add words for mutiarch configuration

Adds some words on the PXE configuration for multi-arch environments.

Change-Id: I10cf510630f50d68e463476b922f40932418f4b3
Kaifeng Wang 2020-03-17 17:21:29 +08:00
parent 351347ad14
commit e6ece052ec
1 changed files with 25 additions and 0 deletions

View File

@ -421,6 +421,31 @@ x86_64, you'll need:
Configuring PXE for Multi-arch
If the environment consists of bare metals with different architectures,
normally different ramdisks are required for each architecture. The grub
built-in variable `grub_cpu`_ could be used to locate the correct config
file for each of them.
.. _grub_cpu:
For example, setup ``$TFTPROOT/EFI/BOOT/grub.cfg`` as following::
set default=master
set timeout=5
set hidden_timeout_quiet=false
menuentry "master" {
configfile /tftpboot/grub-${grub_cpu}.cfg
Prepare specific grub config for each existing architectures, e.g.
``grub-arm64.cfg`` for ARM64 and ``grub-i386.cfg`` for x86.
Update dnsmasq configuration to contain options for supported architectures.
Managing the **ironic-inspector** Database