[install-guide] PXE Improvements
Pete Travis
immanetize at fedoraproject.org
Sun Jan 11 22:10:15 UTC 2015
commit ea05c1076a8a72ff55ec111974ad9019560c4175
Author: Pete Travis <immanetize at fedoraproject.org>
Date: Sun Jan 11 15:06:54 2015 -0700
PXE Improvements
- Client view of tftp supplied files is a path relative to dhcp declared
'filename', in this case, pxelinux.0. Corrected paths, with a mental
note to add an admonition about it for the adventurous.
- dhcpd doesn't accept 'arch' as a predefined option, so we have to
associate it with an option code and define it. This probably works -
or at least, dhcpd will run this way.
- Did not touch EFI/PXE stuff, no viable test process is currently
available here. Probably needs work.
en-US/Network_based_Installations.xml | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
---
diff --git a/en-US/Network_based_Installations.xml b/en-US/Network_based_Installations.xml
index a263eb2..ea573b7 100644
--- a/en-US/Network_based_Installations.xml
+++ b/en-US/Network_based_Installations.xml
@@ -106,11 +106,14 @@ subnet 192.168.1.0 netmask 255.255.255.0 {
Add entries to point clients to their bootloader and the server that provides it to your subnet configuration in <filename>/etc/dhcp/dhcpd.conf</filename>. Because DHCP clients provide the server with identifying information along with their address request, BIOS clients and UEFI clients can each be directed to the correct bootloader.
</para>
<screen>
+# refer to RFC4758 for possible arch option values
+option arch code 93 = unsigned integer 16;
+
subnet 192.168.1.0 netmask 255.255.255.0 {
if option arch = 00:07 {
filename "uefi/shim.efi";
} else {
- filename "pxelinux/pxelinux.0";
+ filename "pxelinux.0";
}
next-server 192.168.1.2;
@@ -174,8 +177,8 @@ subnet 192.168.1.0 netmask 255.255.255.0 {
Create a directory for the bootloader files, and make them available there.
</para>
<screen>
-<command>mkdir -p <filename class="directory">/var/lib/tftpboot/pxelinux</filename></command>
-<command>cp <filename>/usr/share/syslinux/{pxelinux.0,vesamenu.c32}</filename> <filename class="directory">/var/lib/tftpboot/pxelinux/</filename></command>
+<command>mkdir -p <filename class="directory">/var/lib/tftpboot/pxelinux.cfg</filename></command>
+<command>cp <filename>/usr/share/syslinux/{pxelinux.0,vesamenu.c32,ldlinux.c32,libcom32.c32,libutil.c32}</filename> <filename class="directory">/var/lib/tftpboot/</filename></command>
</screen>
</step>
</substeps>
@@ -207,9 +210,8 @@ subnet 192.168.1.0 netmask 255.255.255.0 {
<procedure>
<title>Configuring client bootloaders</title>
<step>
- <para>Create a boot menu for BIOS clients at <filename>/var/lib/tftpboot/pxelinux/default</filename>.</para>
+ <para>Create a boot menu for BIOS clients at <filename>/var/lib/tftpboot/pxelinux.cfg/default</filename>.</para>
<remark>needs adminition about kickstarts here somewhere, and testing of pulling .ks out of cgit</remark>
- <remark>Need to check if the product media ships different or incompatible initramfsen</remark>
<programlisting>
default vesamenu.c32
prompt 1
More information about the docs-commits
mailing list