Skip to content

Commit 97dff41

Browse files
committed
README update for CPU Arch
1 parent 3b11112 commit 97dff41

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,3 +17,16 @@ This collection includes content for interacting with OpenStack clouds.
1717
- os_projects
1818
- os_ratings
1919
- os_volumes
20+
21+
### Changing platform architecture in os_images
22+
23+
The `Generate diskimage-builder images` job in the ``os_images`` role can build an
24+
image for a chosen CPU architecture by defining the ``cpu_arch`` variable before
25+
calling the ``os_images`` role. This is an [example](https://github.com/stackhpc/kayobe/blob/18ca11b47af42ce10507516c2f9e34f447d5e39a/ansible/overcloud-host-image-build.yml#L21_) of a playbook calling the ``os_image`` role.
26+
27+
The ``cpu_arch`` variable will also be set as an image property within the `Upload
28+
cloud tenant images` task in the ``upload.yml`` task.
29+
30+
If left unset the ``cpu_arch`` variable will default to `x86_64` for ``upload.yml``.
31+
However, if not set, the `Generate diskimage-builder images` job will takes the
32+
disk image builder's default.

0 commit comments

Comments
 (0)