mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-24 12:11:52 +00:00
Fix nodeboot when used with -m
nodeboot was erroneously using sys.argv rather than the processed args from optionparser.
This commit is contained in:
parent
f6d4fef5e6
commit
6289cfaac4
@ -58,8 +58,8 @@ except IndexError:
|
||||
sys.exit(1)
|
||||
client.check_globbing(noderange)
|
||||
bootdev = None
|
||||
if len(sys.argv) > 2:
|
||||
bootdev = sys.argv[2]
|
||||
if len(args) > 1:
|
||||
bootdev = args[1]
|
||||
if bootdev in ('net', 'pxe'):
|
||||
bootdev = 'network'
|
||||
session = client.Command()
|
||||
|
Loading…
Reference in New Issue
Block a user