Commit e9ecbd9c authored by Kubernetes Submit Queue's avatar Kubernetes Submit Queue Committed by GitHub

Merge pull request #34646 from roberthbailey/qemu-ssl

Automatic merge from submit-queue libvirt-coreos: Download the coreos_production_qemu_image over SSL. **Which issue this PR fixes**: fixes #7347
parents fd52ae52 3758c111
...@@ -152,7 +152,7 @@ function initialize-pool { ...@@ -152,7 +152,7 @@ function initialize-pool {
virsh pool-create-as $POOL dir --target "$POOL_PATH" virsh pool-create-as $POOL dir --target "$POOL_PATH"
fi fi
wget -N -P "$ROOT" http://${COREOS_CHANNEL:-alpha}.release.core-os.net/amd64-usr/current/coreos_production_qemu_image.img.bz2 wget -N -P "$ROOT" https://${COREOS_CHANNEL:-alpha}.release.core-os.net/amd64-usr/current/coreos_production_qemu_image.img.bz2
if [[ "$ROOT/coreos_production_qemu_image.img.bz2" -nt "$POOL_PATH/coreos_base.img" ]]; then if [[ "$ROOT/coreos_production_qemu_image.img.bz2" -nt "$POOL_PATH/coreos_base.img" ]]; then
bunzip2 -f -k "$ROOT/coreos_production_qemu_image.img.bz2" bunzip2 -f -k "$ROOT/coreos_production_qemu_image.img.bz2"
virsh vol-delete coreos_base.img --pool $POOL 2> /dev/null || true virsh vol-delete coreos_base.img --pool $POOL 2> /dev/null || true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment