Commit 00b1365f authored by Lu Xu's avatar Lu Xu 👀

set BMC IP for lille-edu-capri-002

parent d69d776f
......@@ -12,7 +12,7 @@ download_debian_10_if_needed
#UPDATE THOSE VARIABLES DEPENDING ON YOUR SITE
MY_IF_NAME=eth0
MY_IP_ADDR=192.168.46.2
DHCP_RANGE=192.168.46.100,static
DHCP_RANGE=192.168.46.100,static,255.255.255.0
ROUTER_ADDR=192.168.46.2
DNS_SERVER=8.8.8.8
......@@ -23,7 +23,7 @@ cat <<EOF
if [ \$net_default_mac=7c:fe:90:43:80:a6 ];
then
set hostname=lille-edu-leopard-000
set interface=ens1
set interface=eno1
elif [ \$net_default_mac=00:22:4d:d9:0a:aa ];
then
set hostname=lille-edu-tiogapass-001
......@@ -89,5 +89,6 @@ exec dnsmasq -d --port=0 --log-dhcp \
--dhcp-boot=debian-installer/amd64/grubx64.efi \
--enable-tftp --tftp-root=$(realpath `dirname "$0"`) \
--conf-file=/dev/null \
--dhcp-host=7c:fe:90:43:80:a8,192.168.46.100,1h \
--dhcp-host=7c:fe:90:43:80:a6,192.168.46.102,1h
--dhcp-host=7c:fe:90:43:80:a8,192.168.46.101,1h \
--dhcp-host=7c:fe:90:43:80:a6,192.168.46.102,1h \
--dhcp-host=00:22:4d:da:ca:a8,192.168.46.103,168.46.103,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