Try to reopen interfaces at the beginning
This commit is contained in:
parent
9c7265e6d4
commit
7401717352
|
@ -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 ||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user