mirror of
https://github.com/xcat2/confluent.git
synced 2026-09-29 00:31:09 +00:00
If 'firm' appears as the argument, make it nodefirmware
This better enables use of alias rinv to nodeinventory. Though it is a smidge slower than nodefirmware.
This commit is contained in:
@@ -77,6 +77,8 @@ try:
|
||||
except IndexError:
|
||||
argparser.print_help()
|
||||
sys.exit(1)
|
||||
if args[1] == 'firm':
|
||||
exec(['nodefirmware', noderange])
|
||||
try:
|
||||
session = client.Command()
|
||||
for res in session.read('/noderange/{0}/inventory/hardware/all/all'.format(
|
||||
|
||||
Reference in New Issue
Block a user