summaryrefslogtreecommitdiffstats
path: root/scripts/respin-jcloud-images.sh
blob: 64a5c92f3d48eb8425947641315a187057793ee5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash

set -e

CI_MGMT=$(realpath $(dirname $(realpath $0))/..)

# Copyright 2016 The Linux Foundation <cjcollier@linuxfoundation.org>
source ${CI_MGMT}/vagrant/lib/respin-functions.sh

source ${PVE_PATH}/bin/activate

# Acquire bootstrap images
#download_deb_image 'Ubuntu' '14.04' 'amd64'
#download_deb_image 'Ubuntu' '16.04' 'amd64'
#download_rh_image 'CentOS' '7' 'x86_64'

# Push images to openstack via glance
#create_deb_image 'Ubuntu' '14.04' 'amd64'
#create_deb_image 'Ubuntu' '16.04' 'amd64'
#create_rh_image 'CentOS' '7' 'x86_64'

# Respin images
respin_deb_image 'Ubuntu' '14.04' 'amd64'
respin_deb_image 'Ubuntu' '16.04' 'amd64'
respin_rh_image 'CentOS' '7' 'x86_64'