mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-25 02:52:07 +00:00
Fix configbmc gateway check
It erroneously linked to prefix to check gateway or not.
This commit is contained in:
parent
4f246e6a41
commit
bbb8e50c3e
@ -411,7 +411,7 @@ def main():
|
||||
dotwait()
|
||||
while awaitprefix and not check_subnet(s, bmccfg['prefixv4'], channel):
|
||||
dotwait()
|
||||
while awaitprefix and not check_gateway(s, bmccfg['bmcgw'], channel):
|
||||
while awaitgw and not check_gateway(s, bmccfg['bmcgw'], channel):
|
||||
dotwait()
|
||||
sys.stdout.write('done\n')
|
||||
sys.stdout.flush()
|
||||
|
Loading…
Reference in New Issue
Block a user