Added this repo

This commit is contained in:
2024-09-19 13:29:35 +03:00
commit 5ae5fe2586
47 changed files with 1265 additions and 0 deletions

View File

@ -0,0 +1,18 @@
# Defaults for isc-dhcp-server (sourced by /etc/init.d/isc-dhcp-server)
# Path to dhcpd's config file (default: /etc/dhcp/dhcpd.conf).
#DHCPDv4_CONF=/etc/dhcp/dhcpd.conf
#DHCPDv6_CONF=/etc/dhcp/dhcpd6.conf
# Path to dhcpd's PID file (default: /var/run/dhcpd.pid).
#DHCPDv4_PID=/var/run/dhcpd.pid
#DHCPDv6_PID=/var/run/dhcpd6.pid
# Additional options to start dhcpd with.
# Don't use options -cf or -pf here; use DHCPD_CONF/ DHCPD_PID instead
#OPTIONS=""
# On what interfaces should the DHCP server (dhcpd) serve DHCP requests?
# Separate multiple interfaces with spaces, e.g. "eth0 eth1".
INTERFACESv4="ens192"
INTERFACESv6=""

View File

@ -0,0 +1,6 @@
# /etc/default/tftpd-hpa
TFTP_USERNAME="tftp"
TFTP_DIRECTORY="/srv/tftp"
TFTP_ADDRESS="10.8.221.2:69"
TFTP_OPTIONS="--secure -l --ipv4"

View File

@ -0,0 +1,20 @@
default-lease-time 3600;
max-lease-time 2400;
authoritative;
ddns-update-style none;
log-facility local7;
local-address 10.8.221.2;
subnet 10.8.221.0 netmask 255.255.255.0 {
range 10.8.221.10 10.8.221.200;
option subnet-mask 255.255.255.0;
option broadcast-address 10.8.221.255;
option domain-name "lab.loc";
option domain-name-servers 10.12.90.1;
option routers 10.8.221.1;
next-server 10.8.221.2;
}
if exists user-class and option user-class = "iPXE" { filename "http://${next-server}:80/.boot/boot.ipxe";} else { filename "undionly.kpxe"; }
include "/etc/dhcp/dhcpd_tmp.conf";

View File

@ -0,0 +1 @@
host zdc01-testsrv01-it-infr { hardware ethernet 00:50:56:91:d2:c8; if exists user-class and option user-class = "iPXE" { filename "http://${next-server}:80/.boot/boot_00:50:56:91:d2:c8.ipxe";} else { filename "undionly.kpxe"; }}