2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-22 09:32:21 +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 7a27fba94b
commit 26782811d6

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