From bdaf5b80db27995c6bbafcbcaad9b87b6676f02b Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Thu, 22 Aug 2019 09:21:33 -0400 Subject: [PATCH] Accept the probability that the route is already added --- xCAT-genesis-scripts/usr/sbin/enableipmiusingredfish.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-genesis-scripts/usr/sbin/enableipmiusingredfish.py b/xCAT-genesis-scripts/usr/sbin/enableipmiusingredfish.py index 59c2176c3..8f3446061 100755 --- a/xCAT-genesis-scripts/usr/sbin/enableipmiusingredfish.py +++ b/xCAT-genesis-scripts/usr/sbin/enableipmiusingredfish.py @@ -11,7 +11,7 @@ iface = os.environ['INTERFACE'] # of the OS routing table subprocess.check_call(['/sbin/ip', 'link', 'set', iface, 'up']) subprocess.check_call(['/sbin/ip', 'addr', 'add', 'dev', iface, '169.254.95.120/24']) -subprocess.check_call(['/sbin/ip', 'route', 'add', '169.254.95.0/24', 'dev', iface]) +subprocess.call(['/sbin/ip', 'route', 'add', '169.254.95.0/24', 'dev', iface]) client = httplib.HTTPSConnection('169.254.95.118', context=ssl._create_unverified_context()) headers = { 'Authorization': 'Basic {0}'.format(base64.b64encode(':'.join((os.environ['user'], os.environ['bmcp'])))),