diff --git a/README.md b/README.md index ffb6bce0de948bc035b2adb5202a8bec3a94bb49..7367cfb2a7220fc7334dcecebdb4003700e716a4 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ -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