Changes

Jump to navigation Jump to search
1,048 bytes added ,  07:08, 22 June 2022
m
Line 29: Line 29:  
Assumes sme server is acting as dhcp server.
 
Assumes sme server is acting as dhcp server.
    +
This contrib supplies the basic parameters for dhcpd to allow pxe booting on your network.
 +
 +
It is ONLY config db parameters and /etc/dhcpd.conf template fragments. No panels or scripts.
 +
 +
Just restart dhcpd to get updated parameters added into /etc/dhcpd.conf<syntaxhighlight lang="bash">
 +
service dhcpd restart
 +
</syntaxhighlight>This will update your /etc/dhcpd.conf file to include<syntaxhighlight lang="perl">
 +
option client-architecture code 93 = unsigned integer 16;
 +
 +
<and within the subnet scope>
 +
 +
    if option client-architecture = 00:07 {
 +
        filename "/bootx64.efi";
 +
    }
 +
    elsif option client-architecture = 00:06 {
 +
        filename "/bootia32.efi";
 +
    }
 +
    else {
 +
        filename "/pxelinux.0";
 +
    }
 +
 +
</syntaxhighlight>
 
=== Installation ===
 
=== Installation ===
<tabs container><tab name="For SME 10">
+
<tabs container=""><tab name="For SME 10">
 
  yum --enablerepo=smecontribs install {{#var:smecontribname}}
 
  yum --enablerepo=smecontribs install {{#var:smecontribname}}
 
</tab></tabs>
 
</tab></tabs>
Line 55: Line 77:  
|-
 
|-
 
|00:06
 
|00:06
|bootia32.EFI
+
|bootia32.efi
 
|pxe boot executable for this boot architecture (32 bit EFI)
 
|pxe boot executable for this boot architecture (32 bit EFI)
 
|
 
|
 
|-
 
|-
 
|00:07
 
|00:07
|bootx64.EFI
+
|bootx64.efi
 
|pxe boot executable for this boot architecture (64 bit EFI)
 
|pxe boot executable for this boot architecture (64 bit EFI)
|optional
+
|
 
|-
 
|-
 
|dir
 
|dir
Line 78: Line 100:  
|<boot executable>
 
|<boot executable>
 
|boot architecture and associated boot executable
 
|boot architecture and associated boot executable
e.g. 00:09 syslinux.EFI
+
e.g. 00:09 syslinux.efi
 
|optional
 
|optional
|}
+
|}Additional boot architectures (as per https://www.iana.org/assignments/dhcpv6-parameters/dhcpv6-parameters.xhtml#processor-architecture) can be supported by adding them to pxe as <arch> <executable> e.g. <syntaxhighlight lang="bash">
 
+
config set-prop pxe 00:09 syslinux.efi
 
+
</syntaxhighlight>
    
=== Uninstall ===
 
=== Uninstall ===
371

edits

Navigation menu