Skip to content

Commit

Permalink
DOC: add steps for enabling the Amphora image
Browse files Browse the repository at this point in the history
Adds steps for enabling the Amphora image after uploading it
  • Loading branch information
DavidFair committed Nov 19, 2024
1 parent e11313e commit 849ea66
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions amphora-image-builder/README
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,24 @@ export TARGET_PROJECT=service

openstack image create --property hw_disk_bus=virtio --property hw_scsi_model=virtio-scsi --property hw_vif_multiqueue_enabled=true --private --project $TARGET_PROJECT --disk-format qcow2 --container-format bare --file ../output/amphora-x64-$(date +%Y-%m-%d)-haproxy.qcow2 --progress amphora-x64-$(date +%Y-%m-%d)-haproxy
```

Enabling this for the Amphora
-----------------------------

- Share this image with the admin project so the control plane can see it after it's tagged

```
openstack image set --shared --project admin amphora-x64-$(date +%Y-%m-%d)-haproxy
openstack image add project amphora-x64-$(date +%Y-%m-%d)-haproxy admin
openstack image set --accept amphora-x64-$(date +%Y-%m-%d)-haproxy admin
```

- Tag this image with the Amphora image tag
```
openstack image set --tag amphora amphora-x64-$(date +%Y-%m-%d)-haproxy
```

- Untag the old image after testing
```
openstack image unset --tag amphora amphora-<old-date>
```

0 comments on commit 849ea66

Please sign in to comment.