diff options
author | 2025-04-10 18:13:22 -0700 | |
---|---|---|
committer | 2025-04-10 18:13:22 -0700 | |
commit | b81df9c93ccfff90cb6c69d51e9dad78da6208ae (patch) | |
tree | d4a1faeaa117c8b199858cf7fd50870ce8f9b59a | |
parent | c341c08c95cd005b86ea1255d1bb85e1cfa3494e (diff) | |
download | YubiKey-Guide-b81df9c93ccfff90cb6c69d51e9dad78da6208ae.tar.gz YubiKey-Guide-b81df9c93ccfff90cb6c69d51e9dad78da6208ae.tar.zst YubiKey-Guide-b81df9c93ccfff90cb6c69d51e9dad78da6208ae.zip |
simplify debian image urls
-rw-r--r-- | README.md | 9 |
1 files changed, 5 insertions, 4 deletions
@@ -90,17 +90,18 @@ Debian Live is used in this guide to balance usability and security, with some a Download the latest image and signature files: ```console -curl -fLO "https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/SHA512SUMS" +export IMAGE_URL="https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/" -curl -fLO "https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/SHA512SUMS.sign" +curl -fLO "$IMAGE_URL/SHA512SUMS" -O "$IMAGE_URL/SHA512SUMS.sign" -curl -fLO "https://cdimage.debian.org/debian-cd/current-live/amd64/iso-hybrid/$(awk '/xfce.iso$/ {print $2}' SHA512SUMS)" +curl -fLO "$IMAGE_URL/$(awk '/xfce.iso$/ {print $2}' SHA512SUMS)" ``` Download the Debian signing public key: ```console -gpg --keyserver hkps://keyring.debian.org --recv DF9B9C49EAA9298432589D76DA87E80D6294BE9B +gpg --keyserver hkps://keyring.debian.org \ + --recv DF9B9C49EAA9298432589D76DA87E80D6294BE9B ``` If the public key cannot be received, use a different keyserver or DNS server: |