2
0
mirror of https://github.com/xcat2/confluent.git synced 2026-09-29 00:31:09 +00:00

Correct the exec in previous commit

This commit is contained in:
Jarrod Johnson
2017-04-28 13:59:48 -04:00
parent d1abace7da
commit 8cde65a9e6
+1 -1
View File
@@ -78,7 +78,7 @@ except IndexError:
argparser.print_help()
sys.exit(1)
if args[1] == 'firm':
exec(['nodefirmware', noderange])
os.execlp('nodefirmware', noderange)
try:
session = client.Command()
for res in session.read('/noderange/{0}/inventory/hardware/all/all'.format(