Document the process of re-spinning an image
[ci-management.git] / scripts / respin-jcloud-images.sh
1 #!/bin/bash
2
3 set -e
4
5 # Copyright 2016 The Linux Foundation <cjcollier@linuxfoundation.org>
6 source ../vagrant/lib/respin-functions.sh
7
8 source ${PVE_PATH}/bin/activate
9
10 # Acquire bootstrap images
11 #download_deb_image 'Ubuntu' '14.04' 'amd64'
12 #download_deb_image 'Ubuntu' '16.04' 'amd64'
13 #download_rh_image 'CentOS' '7' 'x86_64'
14
15 # Push images to openstack via glance
16 #create_deb_image 'Ubuntu' '14.04' 'amd64'
17 #create_deb_image 'Ubuntu' '16.04' 'amd64'
18 #create_rh_image 'CentOS' '7' 'x86_64'
19
20 # Respin images
21 respin_deb_image 'Ubuntu' '14.04' 'amd64'
22 respin_deb_image 'Ubuntu' '16.04' 'amd64'
23 respin_rh_image 'CentOS' '7' 'x86_64'