From 2ab2f90a8ef8fb020b52fc19048be7b154143385 Mon Sep 17 00:00:00 2001 From: Aleksandr Chebotov Date: Thu, 14 May 2020 17:09:27 +0300 Subject: [PATCH] update preimagedata.sh ubuntu20 --- images/linux/scripts/installers/preimagedata.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/images/linux/scripts/installers/preimagedata.sh b/images/linux/scripts/installers/preimagedata.sh index 91b36a9cb..26be3bfa4 100644 --- a/images/linux/scripts/installers/preimagedata.sh +++ b/images/linux/scripts/installers/preimagedata.sh @@ -6,6 +6,10 @@ os_name=$(lsb_release -ds | sed "s/ /\\\n/g") image_label="ubuntu-$(lsb_release -rs)" github_url="https://github.com/actions/virtual-environments/blob" +if [[ "$image_label" =~ "ubuntu-20" ]]; then + software_url="${github_url}/ubuntu20/${image_version}/images/linux/Ubuntu2004-README.md" +fi + if [[ "$image_label" =~ "ubuntu-18" ]]; then software_url="${github_url}/ubuntu18/${image_version}/images/linux/Ubuntu1804-README.md" fi