Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
update-images
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cloud
operations
update-images
Commits
47aa16b4
Commit
47aa16b4
authored
6 years ago
by
Claudio Pisa
Browse files
Options
Downloads
Patches
Plain Diff
2019-02-21: CP; update README
parent
2a6d8122
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+15
-3
15 additions, 3 deletions
README.md
with
15 additions
and
3 deletions
README.md
+
15
−
3
View file @
47aa16b4
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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment