mirror of
https://github.com/elasticdog/packer-arch.git
synced 2026-07-17 16:36:26 +00:00
Checksum links has been fixed
This commit is contained in:
parent
d109efdedf
commit
b14e836238
2 changed files with 2 additions and 2 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"variables": {
|
||||
"iso_url": "https://mirrors.kernel.org/archlinux/iso/latest/archlinux-x86_64.iso",
|
||||
"iso_checksum_url": "https://mirrors.kernel.org/archlinux/iso/latest/sha1sums.txt",
|
||||
"iso_checksum_url": "https://mirrors.kernel.org/archlinux/iso/latest/sha256sums.txt",
|
||||
"ssh_timeout": "20m",
|
||||
"country": "US",
|
||||
"write_zeros": "true",
|
||||
|
|
|
|||
|
|
@ -278,7 +278,7 @@ else
|
|||
country='US'
|
||||
fi
|
||||
|
||||
ISO_CHECKSUM_URL="${MIRROR}/iso/latest/sha1sums.txt"
|
||||
ISO_CHECKSUM_URL="${MIRROR}/iso/latest/sha256sums.txt"
|
||||
ISO_NAME=$(curl -sL "$ISO_CHECKSUM_URL" | awk '/-x86_64.iso/{ print $2 }' | tail -n 1)
|
||||
ISO_URL="${MIRROR}/iso/latest/${ISO_NAME}"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue