mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-07 05:51:17 +07:00
chore(metal/pxe): clean up rendered files
This commit is contained in:
parent
ec16e998d1
commit
59f900aef4
@ -1,20 +0,0 @@
|
|||||||
option space pxelinux;
|
|
||||||
option pxelinux.magic code 208 = string;
|
|
||||||
option pxelinux.configfile code 209 = text;
|
|
||||||
option pxelinux.pathprefix code 210 = text;
|
|
||||||
option pxelinux.reboottime code 211 = unsigned integer 32;
|
|
||||||
option architecture-type code 93 = unsigned integer 16;
|
|
||||||
|
|
||||||
subnet 192.168.1.0 netmask 255.255.255.0 {
|
|
||||||
option routers 192.168.1.1;
|
|
||||||
range 192.168.1.2 192.168.1.254;
|
|
||||||
|
|
||||||
class "pxeclients" {
|
|
||||||
match if substring (option vendor-class-identifier, 0, 9) = "PXEClient";
|
|
||||||
next-server 192.168.1.12;
|
|
||||||
|
|
||||||
if option architecture-type = 00:07 {
|
|
||||||
filename "grubx64.efi";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,8 +0,0 @@
|
|||||||
set timeout=1
|
|
||||||
|
|
||||||
menuentry 'Rocky-8.4-x86_64-minimal (PXE)' {
|
|
||||||
linux vmlinuz \
|
|
||||||
ip=dhcp \
|
|
||||||
ks=http://192.168.1.12/init-config/${net_default_mac}.ks
|
|
||||||
initrd initrd.img
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user