Changes

Jump to navigation Jump to search
1,497 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 45: Line 67:  
!
 
!
 
|-
 
|-
|access
+
|status
|private
+
|enabled
|private, public
+
|enabled, disabled
 +
|
 +
|-
 +
|default
 +
|pxelinux.0
 +
|any name of executable
 +
|-
 +
|00:06
 +
|bootia32.efi
 +
|pxe boot executable for this boot architecture (32 bit EFI)
 
|
 
|
 
|-
 
|-
|status
+
|00:07
|enabled
+
|bootx64.efi
|enabled,disabled
+
|pxe boot executable for this boot architecture (64 bit EFI)
|}
+
|
 
+
|-
 
+
|dir
 +
|<directory>
 +
|subdirectory of /tftpboot in which to find executable
 +
e.g. EFI
 +
|optional
 +
|-
 +
|nextserver
 +
|<IP address>
 +
|IP address of tftp server in your network
 +
|optional
 +
|-
 +
|<arch>
 +
|<boot executable>
 +
|boot architecture and associated boot executable
 +
e.g. 00:09 syslinux.efi
 +
|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 ===
Line 77: Line 126:  
<!-- Please keep there the template revision  number as is -->
 
<!-- Please keep there the template revision  number as is -->
 
[[contribtemplate::2| ]]
 
[[contribtemplate::2| ]]
[[contriblang:: {{#var:lang}} | ]]
 
371

edits

Navigation menu