Add missing files
This commit is contained in:
77
templates/dhcpd.conf.j2
Normal file
77
templates/dhcpd.conf.j2
Normal file
@@ -0,0 +1,77 @@
|
||||
# dhcpd.conf
|
||||
#
|
||||
# Configuration file for ISC dhcpd
|
||||
#
|
||||
# option definitions common to all supported networks...
|
||||
option domain-name "toal.ca";
|
||||
option domain-name-servers 192.168.1.1;
|
||||
|
||||
default-lease-time 600;
|
||||
max-lease-time 7200;
|
||||
|
||||
# The ddns-updates-style parameter controls whether or not the server will
|
||||
# attempt to do a DNS update when a lease is confirmed. We default to the
|
||||
# behavior of the version 2 packages ('none', since DHCP v2 didn't
|
||||
# have support for DDNS.)
|
||||
ddns-update-style interim;
|
||||
|
||||
update-static-leases on;
|
||||
|
||||
# If this DHCP server is the official DHCP server for the local
|
||||
# network, the authoritative directive should be uncommented.
|
||||
authoritative;
|
||||
|
||||
# Use this to send dhcp log messages to a different log file (you also
|
||||
# have to hack syslog.conf to complete the redirection).
|
||||
#log-facility local7;
|
||||
|
||||
# No service will be given on this subnet, but declaring it helps the
|
||||
# DHCP server to understand the network topology.
|
||||
|
||||
# LAN Subnet (Currently served by pfSense)
|
||||
subnet 192.168.1.0 netmask 255.255.255.0 {
|
||||
range 192.168.1.101 192.168.1.160;
|
||||
option domain-name "lan.toal.ca";
|
||||
option domain-search "toal.ca", "lan.toal.ca";
|
||||
|
||||
}
|
||||
|
||||
# Lab Subnet
|
||||
subnet 192.168.90.0 netmask 255.255.255.0 {
|
||||
range 192.168.90.10 192.168.90.240;
|
||||
option routers 192.168.90.1;
|
||||
option domain-name "lab.toal.ca";
|
||||
}
|
||||
|
||||
host sat6 {
|
||||
hardware ethernet 00:1a:4a:16:01:52;
|
||||
fixed-address sat6.lab.toal.ca;
|
||||
# filename "vmunix.passacaglia";
|
||||
# server-name "toccata.example.com";
|
||||
}
|
||||
|
||||
# You can declare a class of clients and then do address allocation
|
||||
# based on that. The example below shows a case where all clients
|
||||
# in a certain class get addresses on the 10.17.224/24 subnet, and all
|
||||
# other clients get addresses on the 10.0.29/24 subnet.
|
||||
|
||||
#class "foo" {
|
||||
# match if substring (option vendor-class-identifier, 0, 4) = "SUNW";
|
||||
#}
|
||||
|
||||
#shared-network 224-29 {
|
||||
# subnet 10.17.224.0 netmask 255.255.255.0 {
|
||||
# option routers rtr-224.example.org;
|
||||
# }
|
||||
# subnet 10.0.29.0 netmask 255.255.255.0 {
|
||||
# option routers rtr-29.example.org;
|
||||
# }
|
||||
# pool {
|
||||
# allow members of "foo";
|
||||
# range 10.17.224.10 10.17.224.250;
|
||||
# }
|
||||
# pool {
|
||||
# deny members of "foo";
|
||||
# range 10.0.29.10 10.0.29.230;
|
||||
# }
|
||||
#}
|
||||
23
templates/ks.cfg
Normal file
23
templates/ks.cfg
Normal file
@@ -0,0 +1,23 @@
|
||||
lang en_CA
|
||||
keyboard us
|
||||
timezone America/Toronto --isUtc
|
||||
rootpw $1$3Sx/AUYD$VOS6XPI5U5x3pW4CA6m1y0 --iscrypted
|
||||
sshpw --username=ptoal $1$3Sx/AUYD$VOS6XPI5U5x3pW4CA6m1y0 --iscrypted
|
||||
#platform x86, AMD64, or Intel EM64T
|
||||
reboot
|
||||
text
|
||||
cdrom
|
||||
bootloader --location=mbr --append="rhgb quiet crashkernel=auto"
|
||||
zerombr
|
||||
clearpart --none
|
||||
autopart
|
||||
eula --agreed
|
||||
network --device=eth0 --bootproto=static --ip=192.168.90.2 --netmask=255.255.255.0 --gateway=192.168.90.1 --nameserver=192.168.90.1
|
||||
auth --passalgo=sha512 --useshadow
|
||||
selinux --enforcing
|
||||
firewall --enabled --ssh
|
||||
skipx
|
||||
firstboot --disable
|
||||
%packages
|
||||
@base
|
||||
%end
|
||||
Reference in New Issue
Block a user