summaryrefslogtreecommitdiff
path: root/integration/scripts/functions_qemu
diff options
context:
space:
mode:
Diffstat (limited to 'integration/scripts/functions_qemu')
-rw-r--r--integration/scripts/functions_qemu10
1 files changed, 0 insertions, 10 deletions
diff --git a/integration/scripts/functions_qemu b/integration/scripts/functions_qemu
index 3d130684..5cf2f520 100644
--- a/integration/scripts/functions_qemu
+++ b/integration/scripts/functions_qemu
@@ -50,16 +50,6 @@ function build_guest_image() {
if [[ "${guest_os}" == "ubuntu" ]]; then
export DIB_RELEASE=${guest_release}
export DISTRO_NAME="ubuntu"
- # https://cloud-images.ubuntu.com/releases is more stable than the daily
- # builds (https://cloud-images.ubuntu.com/xenial/current/),
- # e.g. sometimes SHA256SUMS file is missing in the daily builds website.
- # Ref: diskimage_builder/elements/ubuntu/root.d/10-cache-ubuntu-tarball
- if [[ "${DIB_RELEASE}" != "focal" ]]; then
- #TODO(wuchunyang): we need remove the support of xenial and bionic.
- declare -A image_file_mapping=( ["xenial"]="ubuntu-16.04-server-cloudimg-amd64-root.tar.gz" ["bionic"]="ubuntu-18.04-server-cloudimg-amd64.squashfs" )
- export DIB_CLOUD_IMAGES="https://cloud-images.ubuntu.com/releases/${DIB_RELEASE}/release/"
- export BASE_IMAGE_FILE=${image_file_mapping[${DIB_RELEASE}]}
- fi
elementes="$elementes ubuntu-minimal"
fi