From 26782811d6c51340bef28e5887d3f3e8bd8fde25 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 11 Mar 2021 16:27:17 -0500 Subject: [PATCH] Fix configbmc gateway check It erroneously linked to prefix to check gateway or not. --- confluent_osdeploy/genesis/profiles/default/scripts/configbmc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_osdeploy/genesis/profiles/default/scripts/configbmc b/confluent_osdeploy/genesis/profiles/default/scripts/configbmc index 604b39b2..fb1d61f4 100644 --- a/confluent_osdeploy/genesis/profiles/default/scripts/configbmc +++ b/confluent_osdeploy/genesis/profiles/default/scripts/configbmc @@ -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()