diff options
| author | Stephen Finucane <sfinucan@redhat.com> | 2022-10-20 18:44:27 +0100 |
|---|---|---|
| committer | Stephen Finucane <sfinucan@redhat.com> | 2022-12-01 15:24:08 +0000 |
| commit | 91277e7e51849d197554b633a579c92116a5afc4 (patch) | |
| tree | f4dbbfeee984a666774c2e104a976d2fc608d790 /openstackclient/common | |
| parent | e7bc68735f5010f0712b640e204c6ceb05fa3759 (diff) | |
| download | python-openstackclient-91277e7e51849d197554b633a579c92116a5afc4.tar.gz | |
compute: Allow users to manually specify bootable volumes
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
Diffstat (limited to 'openstackclient/common')
0 files changed, 0 insertions, 0 deletions
