added host IP address to dhcpd.conf template
This commit is contained in:
@@ -16,7 +16,7 @@ option ipxe.no-pxedhcp 1;
|
||||
option architecture-type code 93 = unsigned integer 16;
|
||||
|
||||
if exists user-class and option user-class = "iPXE" {
|
||||
filename "http://192.168.1.1:9873/ipxe/${mac:hexhyp}";
|
||||
filename "http://{{$.Ipaddr}}:9873/ipxe/${mac:hexhyp}";
|
||||
} else {
|
||||
if option architecture-type = 00:0B {
|
||||
filename "/warewulf/ipxe/bin-arm64-efi/snp.efi";
|
||||
|
||||
@@ -16,7 +16,7 @@ option ipxe.no-pxedhcp 1;
|
||||
option architecture-type code 93 = unsigned integer 16;
|
||||
|
||||
if exists user-class and option user-class = "iPXE" {
|
||||
filename "http://192.168.1.1:9873/ipxe/${mac:hexhyp}";
|
||||
filename "http://{{$.Ipaddr}}:9873/ipxe/${mac:hexhyp}";
|
||||
} else {
|
||||
if option architecture-type = 00:0B {
|
||||
filename "/warewulf/ipxe/bin-arm64-efi/snp.efi";
|
||||
|
||||
Reference in New Issue
Block a user