diff --git a/confluent_client/bin/nodedeploy b/confluent_client/bin/nodedeploy index 7fc4d8be..a3ff7707 100755 --- a/confluent_client/bin/nodedeploy +++ b/confluent_client/bin/nodedeploy @@ -78,6 +78,7 @@ def main(args): ap = argparse.ArgumentParser(description='Deploy OS to nodes') ap.add_argument('-c', '--clear', help='Clear any pending deployment action', action='store_true') ap.add_argument('-n', '--network', help='Initiate deployment over PXE/HTTP', action='store_true') + ap.add_argument('-b', '--bootmethod', help='Specify network boot method (e.g., network, http)', default='network') ap.add_argument('-p', '--prepareonly', help='Prepare only, skip any interaction with a BMC associated with this deployment action', action='store_true') ap.add_argument('-m', '--maxnodes', help='Specifiy a maximum nodes to be deployed') ap.add_argument('-r', '--redeploy', help='Redeploy nodes with the current or pending profile', action='store_true') @@ -213,7 +214,7 @@ def main(args): print('{0}: {1}{2}'.format(node, profile, armed)) sys.exit(0) if not args.clear and args.network and not args.prepareonly: - rc = c.simple_noderange_command(args.noderange, '/boot/nextdevice', 'network', + rc = c.simple_noderange_command(args.noderange, '/boot/nextdevice', args.bootmethod, bootmode='uefi', persistent=False, errnodes=errnodes)