From 59f900aef442ff9a0192fd38a785994e404f0fca Mon Sep 17 00:00:00 2001 From: Khue Doan Date: Sun, 16 Jan 2022 10:59:23 +0700 Subject: [PATCH] chore(metal/pxe): clean up rendered files --- metal/roles/pxe_server/files/dhcp/dhcpd.conf | 20 -------------------- metal/roles/pxe_server/files/tftp/grub.cfg | 8 -------- 2 files changed, 28 deletions(-) delete mode 100644 metal/roles/pxe_server/files/dhcp/dhcpd.conf delete mode 100644 metal/roles/pxe_server/files/tftp/grub.cfg diff --git a/metal/roles/pxe_server/files/dhcp/dhcpd.conf b/metal/roles/pxe_server/files/dhcp/dhcpd.conf deleted file mode 100644 index 6abb83d3..00000000 --- a/metal/roles/pxe_server/files/dhcp/dhcpd.conf +++ /dev/null @@ -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"; - } - } -} diff --git a/metal/roles/pxe_server/files/tftp/grub.cfg b/metal/roles/pxe_server/files/tftp/grub.cfg deleted file mode 100644 index d9ae55fa..00000000 --- a/metal/roles/pxe_server/files/tftp/grub.cfg +++ /dev/null @@ -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 -}