mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-03-04 01:38:12 +08:00
Create install_iso.sh
This commit is contained in:
parent
f9250f930b
commit
0991699d54
1 changed files with 10 additions and 0 deletions
10
install_iso.sh
Normal file
10
install_iso.sh
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
#!/bin/bash
|
||||||
|
#from https://github.com/spiritLHLS/pve
|
||||||
|
|
||||||
|
# 下载Ubuntu和Debian的最新系统镜像
|
||||||
|
wget -P /root/ https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img
|
||||||
|
wget -P /root/ https://cdimage.debian.org/debian-cd/current/amd64/iso-cd/debian-11.1.0-amd64-netinst.iso
|
||||||
|
|
||||||
|
# 将镜像文件移动到Proxmox VE的模板目录中
|
||||||
|
mv /root/focal-server-cloudimg-amd64.img /var/lib/vz/template/iso/
|
||||||
|
mv /root/debian-11.1.0-amd64-netinst.iso /var/lib/vz/template/iso/
|
Loading…
Reference in a new issue