mirror of
https://github.com/xcat2/confluent.git
synced 2026-06-08 08:38:33 +00:00
Add support for http boot
Some redfish require us to be very specific.
This commit is contained in:
@@ -32,7 +32,7 @@ if path.startswith('/opt'):
|
||||
import confluent.client as client
|
||||
|
||||
argparser = optparse.OptionParser(
|
||||
usage='Usage: %prog [options] <noderange> [default|cd|network|setup|hd|usb|floppy]')
|
||||
usage='Usage: %prog [options] <noderange> [default|cd|network|http|setup|hd|usb|floppy]')
|
||||
argparser.add_option('-b', '--bios', dest='biosmode',
|
||||
action='store_true', default=False,
|
||||
help='Request BIOS style boot (rather than UEFI)')
|
||||
|
||||
@@ -1288,6 +1288,7 @@ class BootDevice(ConfluentChoiceMessage):
|
||||
'cd',
|
||||
'floppy',
|
||||
'usb',
|
||||
'http',
|
||||
])
|
||||
|
||||
valid_bootmodes = set([
|
||||
|
||||
Reference in New Issue
Block a user