From ae43fa6fee1bb5b8cb68e21f50b477c084ef21eb Mon Sep 17 00:00:00 2001 From: Pawel Wieczorek Date: Fri, 29 Jan 2021 14:59:58 +0100 Subject: Make adding Ubuntu Bionic image to the DevStack idempotent Relevant review: https://gerrit.onap.org/r/c/integration/+/116546/#message-dc666a721a0f7ee646626bef6d36e54b7786e38f Issue-ID: INT-1601 Change-Id: I3a37cb6b2ff8b200dcbad052653e0eac7af10c60 Signed-off-by: Pawel Wieczorek --- deployment/noheat/infra-openstack/vagrant/Vagrantfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'deployment/noheat') diff --git a/deployment/noheat/infra-openstack/vagrant/Vagrantfile b/deployment/noheat/infra-openstack/vagrant/Vagrantfile index 96f640e95..8acdf1442 100644 --- a/deployment/noheat/infra-openstack/vagrant/Vagrantfile +++ b/deployment/noheat/infra-openstack/vagrant/Vagrantfile @@ -86,8 +86,8 @@ SCRIPT $add_os_image = <<-SCRIPT url="$1" name="$2" - image="$(mktemp)" - wget --quiet --output-document="$image" "$url" + image="/root/${name}.img" + wget --quiet --continue --output-document="$image" "$url" export OS_CLOUD=openstack openstack image create "$name" --public --disk-format qcow2 --container-format bare --file "$image" SCRIPT -- cgit 1.2.3-korg