2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-28 20:39:40 +00:00

Fix configbmc gateway check

It erroneously linked to prefix to check gateway or not.
This commit is contained in:
Jarrod Johnson 2021-03-11 16:27:17 -05:00
parent 4f246e6a41
commit bbb8e50c3e

View File

@ -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()