From a3ead70497c9cf837b9fbf2a36f7f31fa93c5603 Mon Sep 17 00:00:00 2001 From: Dennis van der Pool Date: Sun, 8 Nov 2020 10:18:44 +0100 Subject: [PATCH] Fixed and changed download url to Ubuntu 18.04 Download URL in script was giving a 404 for armhf, changed url to Ubuntu 18.04, now it works https://partner-images.canonical.com/core/bionic/current/ --- ubuntu.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntu.sh b/ubuntu.sh index 5444fe4..893b79a 100755 --- a/ubuntu.sh +++ b/ubuntu.sh @@ -22,7 +22,7 @@ if [ "$first" != 1 ];then *) echo "unknown architecture"; exit 1 ;; esac - wget "https://partner-images.canonical.com/core/disco/current/ubuntu-disco-core-cloudimg-${archurl}-root.tar.gz" -O $tarball + wget "https://partner-images.canonical.com/core/bionic/current/ubuntu-bionic-core-cloudimg-${archurl}-root.tar.gz" -O $tarball fi cur=`pwd` mkdir -p "$folder"