Try to reopen interfaces at the beginning
buildbot/multibuild_parent Build done. Details
buildbot/travis_bionic Build done. Details
buildbot/ipxe_x86_build_and_release Build done. Details

This commit is contained in:
Peter Šurda 2024-02-20 13:16:03 +08:00
parent 9c7265e6d4
commit 7401717352
Signed by: PeterSurda
GPG Key ID: 3E47497CF67ABB95
1 changed files with 3 additions and 1 deletions

View File

@ -20,6 +20,8 @@ goto get_arch
:static_ip_boot_setup
# Open all network interface devices, so we aren't restricted to just the first
ifclose
sleep 1
ifopen
sleep 1
@ -75,7 +77,7 @@ iseq ${net${idx}/mac} 00:25:90:a9:73:76 && set ip-dev-name eno1 && set ip-addr 2
iseq ${net${idx}/mac} a8:a1:59:c7:21:8f && set ip-dev-name enp39s0 && set ip-addr 93.189.25.253 && set ip-gateway 93.189.25.249 && set ip-netmask 255.255.255.248 && set ip-dns 1.1.1.1 && set successful t && goto loop_done ||
iseq ${net${idx}/mac} a8:a1:59:c7:21:90 && set ip-dev-name enp38s0 && set ip-addr 93.189.25.253 && set ip-gateway 93.189.25.249 && set ip-netmask 255.255.255.248 && set ip-dns 1.1.1.1 && set successful t && goto loop_done ||
# test1.sysdeploy.org
iseq ${net${idx}/mac} 08:60:6e:e5:bb:20 && set ip-dev-name eth0 && set ip-addr 176.31.183.121 && set ip-gateway 176.31.183.254 && set ip-netmask 255.255.255.0 && set ip-dns 1.1.1.1 && set successful t && goto loop_done ||
#iseq ${net${idx}/mac} 08:60:6e:e5:bb:20 && set ip-dev-name eth0 && set ip-addr 176.31.183.121 && set ip-gateway 176.31.183.254 && set ip-netmask 255.255.255.0 && set ip-dns 1.1.1.1 && set successful t && goto loop_done ||