mirror of
https://github.com/leitbogioro/Tools.git
synced 2025-10-07 22:05:49 +08:00
Update autoRepackImages.sh
This commit is contained in:
parent
efdf7001bb
commit
b1bb956d33
1 changed files with 1 additions and 1 deletions
|
@ -7,7 +7,7 @@ loopDevice=$(echo $(losetup -f))
|
||||||
loopDeviceNum=$(echo $(losetup -f) | cut -d'/' -f 3)
|
loopDeviceNum=$(echo $(losetup -f) | cut -d'/' -f 3)
|
||||||
websiteDir="/www/wwwroot/cloud-images.a.disk.re/Ubuntu"
|
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
|
for archVer in "amd64" "arm64"; do
|
||||||
fileName="$distName-server-cloudimg-$archVer"
|
fileName="$distName-server-cloudimg-$archVer"
|
||||||
wget --no-check-certificate -qO /root/$fileName.img "https://cloud-images.ubuntu.com/$distName/current/$fileName.img"
|
wget --no-check-certificate -qO /root/$fileName.img "https://cloud-images.ubuntu.com/$distName/current/$fileName.img"
|
||||||
|
|
Loading…
Add table
Reference in a new issue