forked from Sysdeploy/ipxe_scripts
Compare commits
2 Commits
f41905a6a4
...
4f98a35a4e
Author | SHA1 | Date |
---|---|---|
Peter Šurda | 4f98a35a4e | |
Max Weiss | b9e082b09d |
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue