diff options
author | Victor Morales <victor.morales@intel.com> | 2018-03-13 12:36:55 -0700 |
---|---|---|
committer | Gary Wu <gary.i.wu@huawei.com> | 2018-03-15 16:58:22 +0000 |
commit | df17a7ff9ba569227e8a2b5b1863800bbb8e1806 (patch) | |
tree | 749011aaf1b514e17c31edd9c12252a95f0aec18 /bootstrap/vagrant-onap/tools/setup_openstack.sh | |
parent | 1393fc2533cae1271126498f1661dec893922dae (diff) |
Deprecate vagrant-onap tool
The vagrant-onap tool needs to be moved to its own repo to have better
control of versions and autonomy. This change removes the project from
integration repository.
Change-Id: I90bd4505a9fc7376c31a780aa1b833ee2663af3e
Signed-off-by: Victor Morales <victor.morales@intel.com>
Depends-On: I79df8c35fccaa266a789217d441a6cf1183bd42a
Issue-ID: INT-441
Diffstat (limited to 'bootstrap/vagrant-onap/tools/setup_openstack.sh')
-rwxr-xr-x | bootstrap/vagrant-onap/tools/setup_openstack.sh | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/bootstrap/vagrant-onap/tools/setup_openstack.sh b/bootstrap/vagrant-onap/tools/setup_openstack.sh deleted file mode 100755 index 765ad9446..000000000 --- a/bootstrap/vagrant-onap/tools/setup_openstack.sh +++ /dev/null @@ -1,23 +0,0 @@ -#!/bin/bash - -ubuntu_name=${OS_IMAGE:-"trusty-server-cloudimg-amd64-disk1"} -export OS_IMAGE=$ubuntu_name -ubuntu_glance=`openstack image list -c Name -f value | grep "$ubuntu_name"` -ubuntu_file=/tmp/ubuntu.img - -sec_group_name=${OS_SEC_GROUP:-"onap-ssh-secgroup"} -export OS_SEC_GROUP=$sec_group_name -sec_group_list=`openstack security group list -c Name -f value | grep "$sec_group_name"` - -if [[ -z $ubuntu_glance ]]; then - if [ ! -f $ubuntu_file ]; then - curl http://cloud-images.ubuntu.com/trusty/current/trusty-server-cloudimg-amd64-disk1.img -o "$ubuntu_file" - fi - - openstack image create --disk-format raw --container-format bare --public --file $ubuntu_file "$ubuntu_name" -fi - -if [[ -z $sec_group_list ]]; then - openstack security group create "$sec_group_name" - openstack security group rule create --protocol tcp --remote-ip 0.0.0.0/0 --dst-port 22:22 "$sec_group_name" -fi |