components/python/ironicclient/patches/01-boot-device-wanboot.patch
changeset 5405 66fd59fecd68
parent 4460 e5811789e2fb
equal deleted inserted replaced
5404:55e409ba4e72 5405:66fd59fecd68
     1 Add wanboot to list of potentially supported boot devices.
     1 Add wanboot to list of potentially supported boot devices.
     2 
     2 
     3 --- python-ironicclient-0.3.2/ironicclient/v1/node_shell.py.~1~	2014-12-10 11:10:37.000000000 -0800
     3 --- ORIGINAL/ironicclient/v1/node_shell.py	2015-06-03 14:28:54.964047000 +0100
     4 +++ python-ironicclient-0.3.2/ironicclient/v1/node_shell.py	2015-01-09 00:10:16.660604875 -0800
     4 +++ python-ironicclient-0.5.1/ironicclient/v1/node_shell.py	2015-06-03 14:32:08.040441131 +0100
     5 @@ -344,8 +344,8 @@ def do_node_set_console_mode(cc, args):
     5 @@ -383,8 +383,8 @@
     6  @cliutils.arg(
     6  @cliutils.arg(
     7      'device',
     7      'device',
     8      metavar='<boot device>',
     8      metavar='<boot-device>',
     9 -    choices=['pxe', 'disk', 'cdrom', 'bios', 'safe'],
     9 -    choices=['pxe', 'disk', 'cdrom', 'bios', 'safe'],
    10 -    help="Supported boot devices:  'pxe', 'disk', 'cdrom', 'bios', 'safe'")
    10 -    help="'pxe', 'disk', 'cdrom', 'bios', or 'safe'.")
    11 +    choices=['pxe', 'disk', 'cdrom', 'bios', 'safe', 'wanboot'],
    11 +    choices=['pxe', 'disk', 'cdrom', 'bios', 'safe', 'wanboot'],
    12 +    help="Supported boot devices:  'pxe', 'disk', 'cdrom', 'bios', 'safe', 'wanboot'")
    12 +    help="'pxe', 'disk', 'cdrom', 'bios', 'safe' or 'wanboot'.")
    13  @cliutils.arg(
    13  @cliutils.arg(
    14      '--persistent',
    14      '--persistent',
    15      dest='persistent',
    15      dest='persistent',