Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion docs/cloud-in-a-box/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -287,8 +287,18 @@ can be viewed in the file `/var/log/install-cloud-in-a-box.log`.
The [OpenStack Image Manager](https://github.com/osism/openstack-image-manager/) is used to manage images.
In the example, the `Garden Linux` image is imported.

Without `--upload` the command only shows a preview of the images that would be uploaded and
makes no changes. Add `--upload` to actually import the images.

:::note

Preview by default is available from OSISM `<RELEASE>` onwards. In earlier releases the command
uploaded the images immediately, without requiring `--upload`.

:::

```bash
osism manage images --cloud=admin --filter 'Garden Linux'
osism manage images --upload --cloud=admin --filter 'Garden Linux'
```

All available images can be found in the [osism/openstack-image-manager](https://github.com/osism/openstack-image-manager/tree/main/etc/images) repository.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,28 @@ the help of the OpenStack Image Manager.
3. Run the OpenStack Image Manager. It is assumed that a profile with the name `openstack` exists in the
[clouds.yaml](https://docs.openstack.org/python-openstackclient/latest/configuration/index.html#configuration-files).

By default `openstack-image-manager` (and `osism manage images`, which uses it in the
backend) only shows a **preview** of the images that would be uploaded, a rough estimate of
how long that would take and the command to actually perform the upload. It does not connect
to OpenStack and makes no changes:

:::note

Preview by default is available from OSISM `<RELEASE>` onwards. In earlier releases the
command uploaded the images immediately, without requiring `--upload`.

:::

```bash
openstack-image-manager --cloud openstack --filter ".*Cirr.*" --images images/
```

To actually import the images, add `--upload`:

```bash
openstack-image-manager --upload --cloud openstack --filter ".*Cirr.*" --images images/
```

## Image definitions

The configuration consists of different parameter settings, such as values for
Expand Down