Skip to content

Commit 5d5e2d5

Browse files
sathlandanpawlik
authored andcommitted
[update] Allow curl to use ipv6 for downloading cirros image.
For testing we use a cirros image that is used to create a vm on the cloud. We used to force ipv4 on curl, but it fails in ipv6 unidelta job. Remove the constraint to suit ipv4 and ipv6 jobs. Closes: [uni04delta-ipv6-update failing to download cirros-cloud.net image ](https://issues.redhat.com/browse/OSPRH-17249)
1 parent 25fa1a8 commit 5d5e2d5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

roles/update/templates/workload_launch.sh.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ function workload_launch {
291291
openstack image list | grep ${IMAGE_NAME}
292292
if [ $? -ne 0 ]; then
293293
echo "Downloading image ${IMAGE_URL}"
294-
curl -4fsSLk --retry 5 -o ${IMAGE_FILE} ${IMAGE_URL}
294+
curl -fsSLk --retry 5 -o ${IMAGE_FILE} ${IMAGE_URL}
295295

296296
if [ $? -ne 0 ]; then
297297
echo "Failed to download ${IMAGE_URL}"

0 commit comments

Comments
 (0)