Skip to content

Instantly share code, notes, and snippets.

@rjloura
Last active July 11, 2018 19:53
Show Gist options
  • Save rjloura/f30d9dfd536bd318a195b3519cbe5d7c to your computer and use it in GitHub Desktop.
Save rjloura/f30d9dfd536bd318a195b3519cbe5d7c to your computer and use it in GitHub Desktop.
How to update all manta images to the latest release
  1. When a new release comes out you will need to import all of the new images
    for uuid in `updates-imgadm -C release list name=~manta --latest -H -o uuid`; do sdc-imgadm import $uuid -S https://updates.joyent.com?channel=release; done
    
  2. Export the current manta config with manta-adm show -sj > update.json
  3. Then modify all the image uuids in update.json with the ones that were downloaded in step 1. (A little node script would be nice here)
  4. manta-adm update update.json
@rjloura
Copy link
Author

rjloura commented Jul 11, 2018

Thanks Trent. Made the change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment