mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-02-01 02:29:01 +08:00
Update install_iso.sh
This commit is contained in:
parent
1f0b39f002
commit
c9f29ab04a
1 changed files with 2 additions and 1 deletions
|
@ -42,7 +42,7 @@ case "$choice" in
|
|||
qm importdisk --format qcow2 100 /root/ubuntu20.qcow2 local
|
||||
qm importdisk --format qcow2 101 /root/ubuntu20.qcow2 local
|
||||
rm -rf /root/ubuntu20.qcow2 /root/debian11.qcow
|
||||
echo "已将镜像文件移动到 Proxmox VE 的模板目录"
|
||||
echo "已将镜像文件加载到 Proxmox VE 的模板目录"
|
||||
;;
|
||||
2)
|
||||
if [[ -n "${CN}" ]]; then
|
||||
|
@ -77,6 +77,7 @@ case "$choice" in
|
|||
rm -rf /root/ubuntu20.qcow2 /root/debian11.qcow
|
||||
mv /root/ubuntu-20.10-standard_20.10-1_amd64.tar.gz /var/lib/vz/template/cache/
|
||||
mv /root/debian-11-standard_11.3-0_amd64.tar.gz /var/lib/vz/template/cache/
|
||||
echo "已全部加载"
|
||||
;;
|
||||
*)
|
||||
echo "无效的选项,程序退出"
|
||||
|
|
Loading…
Reference in a new issue