91277e7e51
When creating a server with an attached volume, you can specify a block device with a 'boot_index' of '0' and this will become the bootable device. OSC allows users to do this by using either the '--volume' option or a combination of the '--image' and '--boot-from-volume' options, but we should also allow them to do it the "hard way" via the '--block-device' option. For example: openstack server create \ --block-device uuid=0a89ecd8-1fe2-45f0-94da-7789067911c9,boot_index=0 \ --block-device uuid=589266ef-fd88-46e9-b7b2-94503ce8f88f,boot_index=1 \ ... \ my-server Make this possible. Change-Id: Ia48449fecbc590346630807b1c7da40102d53b33 Signed-off-by: Stephen Finucane <sfinucan@redhat.com> Story: 2010376 Task: 46617
8 lines
254 B
YAML
8 lines
254 B
YAML
---
|
|
fixes:
|
|
- |
|
|
The ``server create`` command will no longer insist on an ``--image``,
|
|
``--image-property``, ``--volume`` or ``--snapshot`` argument when a
|
|
volume is provided with a boot index of ``0`` via the ``--block-device``
|
|
option.
|