summaryrefslogtreecommitdiffstats
path: root/scripts/post_apex.sh
diff options
context:
space:
mode:
authorjuraj.linkes <jlinkes@cisco.com>2017-08-21 17:19:32 +0200
committerjuraj.linkes <jlinkes@cisco.com>2017-09-12 13:51:51 +0200
commit89efc4256d66a6d7f8ef2b1f71d713d1de8468ca (patch)
tree21f99161c009d87df4a3245f07feab1005f60dee /scripts/post_apex.sh
parent28fb6476b9fa8a7910c266e651eafcdc0d9f03cf (diff)
Updated resource cleanup and post apex for 1710
Change-Id: Idb9b1d101acdc54425fb1daf4442e466ceef3f0e Signed-off-by: juraj.linkes <jlinkes@cisco.com>
Diffstat (limited to 'scripts/post_apex.sh')
-rwxr-xr-xscripts/post_apex.sh10
1 files changed, 9 insertions, 1 deletions
diff --git a/scripts/post_apex.sh b/scripts/post_apex.sh
index eb37fe3..d38ddd4 100755
--- a/scripts/post_apex.sh
+++ b/scripts/post_apex.sh
@@ -1,3 +1,11 @@
+##############################################################################
+# Copyright (c) 2017 Juraj Linkes (Cisco) and others.
+#
+# All rights reserved. This program and the accompanying materials
+# are made available under the terms of the Apache License, Version 2.0
+# which accompanies this distribution, and is available at
+# http://www.apache.org/licenses/LICENSE-2.0
+##############################################################################
#!/bin/bash
SCRIPT_DIR=$(dirname "$0")
. $SCRIPT_DIR/lib.sh
@@ -79,7 +87,7 @@ then
if [[ ! -f $image_loc ]]
then
echo "Downloading cirros image to $image_loc"
- wget http://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img -O $image_loc
+ wget https://download.cirros-cloud.net/0.3.4/cirros-0.3.4-x86_64-disk.img -O $image_loc
fi
openstack image create --disk-format qcow2 --container-format bare --public --property hw_mem_page_size=large \
--file $image_loc cirros-0.3.4