echo "Downloading $ISO ..." wget -c "$BASE_URL/$ISO"
wget https://releases.ubuntu.com/22.04.5/ubuntu-22.04.5-live-server-amd64.iso To resume an interrupted download (useful for large files over unstable connections): download ubuntu server iso
echo "Verifying GPG signature (requires gpg)..." gpg --keyserver hkp://keyserver.ubuntu.com --recv-keys 0x843938DF228D22F7B3742BC0D94AA3F0EFE21092 gpg --verify SHA256SUMS.gpg SHA256SUMS if [ $? -ne 0 ]; then echo "GPG verification failed!" exit 1 fi echo "Downloading $ISO