Use Fedora 24 base image

Use the standard base image for now, it's smaller and we don't need the
full custom image.

Change-Id: Ifaccf340f0ff4eac52b1eeef5914b7e90f2687da
This commit is contained in:
Thomas Herve 2016-07-12 11:48:47 +02:00
parent 802308ae4d
commit 59fc53a66c
2 changed files with 10 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/bin/bash
#
# Licensed under the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License. You may obtain
@ -11,6 +11,14 @@
# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
# License for the specific language governing permissions and limitations
# under the License.
"true" '''\'
if hash python3 2>/dev/null; then
interpreter="python3"
else
interpreter="python"
fi
exec $interpreter "$0"
'''
import datetime
from distutils import version

View File

@ -31,7 +31,7 @@ openstack flavor create m1.heat_int --ram 512
openstack flavor create m1.heat_micro --ram 128
# Register the glance image for testing
curl http://tarballs.openstack.org/heat-test-image/fedora-heat-test-image.qcow2 | openstack image create fedora-heat-test-image --disk-format qcow2 --container-format bare --public
curl -L https://download.fedoraproject.org/pub/fedora/linux/releases/24/CloudImages/x86_64/images/Fedora-Cloud-Base-24-1.2.x86_64.qcow2 | openstack image create fedora-heat-test-image --disk-format qcow2 --container-format bare --public
if [[ ${PIPESTATUS[0]} -ne 0 ]]; then
# The curl command failed, so the upload is mostly likely incorrect. Let's
# bail out early.