mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 08:55:55 -04:00
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
This commit is contained in:
commit
e9ecbd9c69
1 changed files with 1 additions and 1 deletions
|
|
@ -152,7 +152,7 @@ function initialize-pool {
|
|||
virsh pool-create-as $POOL dir --target "$POOL_PATH"
|
||||
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
|
||||
bunzip2 -f -k "$ROOT/coreos_production_qemu_image.img.bz2"
|
||||
virsh vol-delete coreos_base.img --pool $POOL 2> /dev/null || true
|
||||
|
|
|
|||
Loading…
Reference in a new issue