Compare commits

...

2 Commits

Author SHA1 Message Date
Peter Šurda 4f98a35a4e
Feat: add proliant 1 MAC and IP 2021-04-29 23:33:40 +02:00
Max Weiss b9e082b09d
Run IPXE submodule update before checkout 2021-04-29 14:19:26 -07:00
2 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,7 @@ function clone_ipxe_upstream() {
#fi
#git clone git://git.ipxe.org/ipxe.git "$ipxe_src_dir" || return 1
git submodule update --init --recursive
cd "$ipxe_src_dir"
# Known good commit

View File

@ -37,6 +37,11 @@ isset ${net${idx}/mac} || goto loop_done
iseq ${net${idx}/mac:string} "00:01:02:A0:B1:C1" && set ip-dev-name eth0 && set ip-addr "192.168.1.5" && set ip-gateway "192.168.1.1" && set ip-netmask "255.255.255.0" && set ip-dns "1.1.1.1" && set successful t && goto loop_done ||
iseq ${net${idx}/mac:string} "03:04:05:D4:E5:F6" && set ip-dev-name eth0 && set ip-addr "192.168.99.2" && set ip-gateway "192.168.99.1" && set ip-netmask "255.255.255.0" && set ip-dns "1.1.1.1" && set successful t && goto loop_done ||
# node1.bitmessage.at
iseq ${net${idx}/mac:string} "40:A8:F0:31:CC:58" && set ip-dev-name eth0 && set ip-addr "93.189.28.82" && set ip-gateway "93.189.28.81" && set ip-netmask "255.255.255.240" && set ip-dns "1.1.1.1" && set successful t && goto loop_done ||
iseq ${net${idx}/mac:string} "40:A8:F0:31:CC:59" && set ip-dev-name eth0 && set ip-addr "93.189.28.82" && set ip-gateway "93.189.28.81" && set ip-netmask "255.255.255.240" && set ip-dns "1.1.1.1" && set successful t && goto loop_done ||
##############################################################################
inc idx && goto loop