Skip to content
Snippets Groups Projects
Commit 47aa16b4 authored by Claudio Pisa's avatar Claudio Pisa
Browse files

2019-02-21: CP; update README

parent 2a6d8122
No related branches found
No related tags found
No related merge requests found
Automatic Update Glance Images
==============================
Automatic Update of Glance Images
=================================
This script automates the process of updating images of operating systems in OpenStack.
......@@ -50,6 +50,18 @@ Execute the script
Images are now present in OpenStack Glance.
This script uploads all the images as 'Public', accessible by all users.
### Update simplestreams
After updating the images, update the simplestreams catalog:
$ openstack object list simplestreams
$ openstack object save simplestreams images/streams/v1/com.ubuntu.cloud-released-imagemetadata.json --file com.ubuntu.cloud-released-imagemetadata_backup.json
$ openstack object save simplestreams images/streams/v1/index.json --file index_backup.json
$ python3 generate-files-for-simplestream.py
$ cd output/simplestreams
$ ls -lh images/streams/v1/
$ openstack object create simplestreams images/streams/v1/com.ubuntu.cloud-released-imagemetadata.json images/streams/v1/index.json
Pipeline
--------
......@@ -61,4 +73,4 @@ Pipeline
Notes
-----
This script is tested on Ubuntu 16.04 x64
\ No newline at end of file
This script is tested on Ubuntu 16.04 x64
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment