Commit dee2e5ba authored by Thomas Gambier's avatar Thomas Gambier 🚴🏼

Final version through SFP link

parent c7cbba69
...@@ -7,26 +7,26 @@ SCRIPT_DIR=$(realpath `dirname "$0"`) ...@@ -7,26 +7,26 @@ SCRIPT_DIR=$(realpath `dirname "$0"`)
$SCRIPT_DIR/download_boot_systems.sh $SCRIPT_DIR/download_boot_systems.sh
#UPDATE THOSE VARIABLES DEPENDING ON YOUR SITE #UPDATE THOSE VARIABLES DEPENDING ON YOUR SITE
MY_IF_NAME=eno1 MY_IF_NAME=ens9f1
MY_IP_ADDR=192.168.46.51 MY_IP_ADDR=124.163.255.99
DHCP_RANGE=192.168.46.100,static,255.255.255.0 DHCP_RANGE=124.163.255.99,static,255.255.255.0
ROUTER_ADDR=192.168.46.51 ROUTER_ADDR=124.163.255.97
DNS_SERVER=1.2.4.8 DNS_SERVER=1.2.4.8
common=console=ttyS1,57600 common=console=ttyS1,57600
mac=' mac='
00:22:4d:d9:45:b2 b8:59:9f:07:84:bb
00:22:4d:d9:45:d2 b8:59:9f:07:81:db
00:22:4d:d9:46:f0 b8:59:9f:07:80:53
00:22:4d:d9:46:ca b8:59:9f:07:89:4b
00:22:4d:d9:49:2e b8:59:9f:07:81:f3
00:22:4d:d9:47:ba b8:59:9f:07:80:4b
00:22:4d:d9:45:3a b8:59:9f:07:82:ab
00:22:4d:d9:48:84 b8:59:9f:07:7e:23
00:22:4d:d9:47:e6 b8:59:9f:07:80:73
00:22:4d:d9:47:c0 b8:59:9f:07:7e:13
00:22:4d:d9:47:f2 b8:59:9f:07:80:63
' '
i=1 i=1
hostname_prefix=xinzhou-unicom-tiogapass- hostname_prefix=xinzhou-unicom-tiogapass-
...@@ -108,28 +108,17 @@ exec dnsmasq -d --port=0 --log-dhcp \ ...@@ -108,28 +108,17 @@ exec dnsmasq -d --port=0 --log-dhcp \
--dhcp-boot=debian-installer/amd64/grubx64.efi \ --dhcp-boot=debian-installer/amd64/grubx64.efi \
--enable-tftp --tftp-root=$(realpath `dirname "$0"`) \ --enable-tftp --tftp-root=$(realpath `dirname "$0"`) \
--conf-file=/dev/null \ --conf-file=/dev/null \
--dhcp-host=00:22:4d:d9:45:b2,192.168.46.51,1h \ --dhcp-host=b8:59:9f:07:84:bb,124.163.255.99,1h \
--dhcp-host=00:22:4d:d9:45:d2,192.168.46.52,1h \ --dhcp-host=b8:59:9f:07:81:db,124.163.255.100,1h \
--dhcp-host=00:22:4d:d9:46:f0,192.168.46.53,1h \ --dhcp-host=b8:59:9f:07:80:53,124.163.255.101,1h \
--dhcp-host=00:22:4d:d9:46:ca,192.168.46.54,1h \ --dhcp-host=b8:59:9f:07:89:4b,124.163.255.102,1h \
--dhcp-host=00:22:4d:d9:49:2e,192.168.46.55,1h \ --dhcp-host=b8:59:9f:07:81:f3,124.163.255.103,1h \
--dhcp-host=00:22:4d:d9:47:ba,192.168.46.56,1h \ --dhcp-host=b8:59:9f:07:80:4b,124.163.255.104,1h \
--dhcp-host=00:22:4d:d9:45:3a,192.168.46.57,1h \ --dhcp-host=b8:59:9f:07:82:ab,124.163.255.105,1h \
--dhcp-host=00:22:4d:d9:48:84,192.168.46.58,1h \ --dhcp-host=b8:59:9f:07:7e:23,124.163.255.106,1h \
--dhcp-host=00:22:4d:d9:47:e6,192.168.46.59,1h \ --dhcp-host=b8:59:9f:07:80:73,124.163.255.107,1h \
--dhcp-host=00:22:4d:d9:47:c0,192.168.46.60,1h \ --dhcp-host=b8:59:9f:07:7e:13,124.163.255.108,1h \
--dhcp-host=00:22:4d:d9:47:f2,192.168.46.61,1h \ --dhcp-host=b8:59:9f:07:80:63,124.163.255.109,1h \
--dhcp-host=00:22:4d:d9:45:b3,192.168.46.101,1h \
--dhcp-host=00:22:4d:d9:45:d3,192.168.46.102,1h \
--dhcp-host=00:22:4d:d9:46:f1,192.168.46.103,1h \
--dhcp-host=00:22:4d:d9:46:cb,192.168.46.104,1h \
--dhcp-host=00:22:4d:d9:49:2f,192.168.46.105,1h \
--dhcp-host=00:22:4d:d9:47:bb,192.168.46.106,1h \
--dhcp-host=00:22:4d:d9:45:3b,192.168.46.107,1h \
--dhcp-host=00:22:4d:d9:48:85,192.168.46.108,1h \
--dhcp-host=00:22:4d:d9:47:e7,192.168.46.109,1h \
--dhcp-host=00:22:4d:d9:47:c1,192.168.46.110,1h \
--dhcp-host=00:22:4d:d9:47:f3,192.168.46.111,1h \
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment