Update autoRepackImages.sh

This commit is contained in:
Molly Lau 2023-06-08 04:49:59 +09:00 committed by GitHub
parent efdf7001bb
commit b1bb956d33
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -7,7 +7,7 @@ loopDevice=$(echo $(losetup -f))
loopDeviceNum=$(echo $(losetup -f) | cut -d'/' -f 3)
websiteDir="/www/wwwroot/cloud-images.a.disk.re/Ubuntu"
for distName in "jammy" "focal"; do
for distName in "jammy" "focal" "bionic"; do
for archVer in "amd64" "arm64"; do
fileName="$distName-server-cloudimg-$archVer"
wget --no-check-certificate -qO /root/$fileName.img "https://cloud-images.ubuntu.com/$distName/current/$fileName.img"