Update rebuild.sh

This commit is contained in:
spiritLHLS 2023-04-09 01:23:39 +08:00 committed by GitHub
parent 13b5211dd7
commit 09efe522fd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,10 +1,10 @@
#!/bin/bash #!/bin/bash
apt-get install -y libguestfs-tools rng-tools wget curl apt-get install -y libguestfs-tools rng-tools curl
curl -o rebuild_qcow2.sh https://raw.githubusercontent.com/spiritLHLS/pve/main/back/rebuild_qcow2.sh curl -o rebuild_qcow2.sh https://raw.githubusercontent.com/spiritLHLS/pve/main/back/rebuild_qcow2.sh
chmod 777 rebuild_qcow2.sh chmod 777 rebuild_qcow2.sh
for image in ubuntu20.qcow2 ubuntu22.qcow2 QuTScloud_5.0.1.qcow2 almalinux8.qcow2 almalinux9.qcow2 alpinelinux_v3_15.qcow2 alpinelinux_v3_17.qcow2 archlinux.qcow2 centos7.qcow2 centos8-stream.qcow2 centos9-stream.qcow2 debian10.qcow2 debian11.qcow2 debian9.qcow2 fedora33.qcow2 fedora34.qcow2 opensuse-leap-15.qcow2 rockylinux8.qcow2 routeros_v6.qcow2 routeros_v7.qcow2 ubuntu18.qcow2; do for image in ubuntu20.qcow2 ubuntu22.qcow2 QuTScloud_5.0.1.qcow2 almalinux8.qcow2 almalinux9.qcow2 alpinelinux_v3_15.qcow2 alpinelinux_v3_17.qcow2 archlinux.qcow2 centos7.qcow2 centos8-stream.qcow2 centos9-stream.qcow2 debian10.qcow2 debian11.qcow2 debian9.qcow2 fedora33.qcow2 fedora34.qcow2 opensuse-leap-15.qcow2 rockylinux8.qcow2 routeros_v6.qcow2 routeros_v7.qcow2 ubuntu18.qcow2; do
wget "https://cdn-backblaze.down.idc.wiki//Image/realServer-Template/$image" curl -o $image "https://cdn-backblaze.down.idc.wiki//Image/realServer-Template/$image"
chmod 777 $image chmod 777 $image
done done
for image in ubuntu20.qcow2 ubuntu22.qcow2 QuTScloud_5.0.1.qcow2 almalinux8.qcow2 almalinux9.qcow2 alpinelinux_v3_15.qcow2 alpinelinux_v3_17.qcow2 archlinux.qcow2 centos7.qcow2 centos8-stream.qcow2 centos9-stream.qcow2 debian10.qcow2 debian11.qcow2 debian9.qcow2 fedora33.qcow2 fedora34.qcow2 opensuse-leap-15.qcow2 rockylinux8.qcow2 routeros_v6.qcow2 routeros_v7.qcow2 ubuntu18.qcow2; do for image in ubuntu20.qcow2 ubuntu22.qcow2 QuTScloud_5.0.1.qcow2 almalinux8.qcow2 almalinux9.qcow2 alpinelinux_v3_15.qcow2 alpinelinux_v3_17.qcow2 archlinux.qcow2 centos7.qcow2 centos8-stream.qcow2 centos9-stream.qcow2 debian10.qcow2 debian11.qcow2 debian9.qcow2 fedora33.qcow2 fedora34.qcow2 opensuse-leap-15.qcow2 rockylinux8.qcow2 routeros_v6.qcow2 routeros_v7.qcow2 ubuntu18.qcow2; do