修复格式问题

This commit is contained in:
CallMeR
2025-12-05 14:33:35 +08:00
parent d2203618af
commit 8b8fc3e773
+3
View File
@@ -36,6 +36,7 @@ Signed-By: /usr/share/keyrings/debian-archive-keyring.gpg
```bash ```bash
## 配置 PVE 系统默认软件源脚本 ## 配置 PVE 系统默认软件源脚本
$ cat > /etc/apt/sources.list.d/debian.sources <<EOF $ cat > /etc/apt/sources.list.d/debian.sources <<EOF
Types: deb Types: deb
URIs: https://mirrors.ustc.edu.cn/debian URIs: https://mirrors.ustc.edu.cn/debian
@@ -61,6 +62,7 @@ EOF
```bash ```bash
## 配置 PVE 系统免订阅软件源脚本 ## 配置 PVE 系统免订阅软件源脚本
$ cat > /etc/apt/sources.list.d/pve-no-subscription.sources <<EOF $ cat > /etc/apt/sources.list.d/pve-no-subscription.sources <<EOF
Types: deb Types: deb
URIs: https://mirrors.ustc.edu.cn/proxmox/debian/pve URIs: https://mirrors.ustc.edu.cn/proxmox/debian/pve
@@ -78,6 +80,7 @@ EOF
```bash ```bash
## 配置 PVE Ceph 免订阅软件源脚本 ## 配置 PVE Ceph 免订阅软件源脚本
$ if [ -f /etc/apt/sources.list.d/ceph.sources ]; then $ if [ -f /etc/apt/sources.list.d/ceph.sources ]; then
CEPH_CODENAME=`ceph -v | grep ceph | awk '{print $(NF-1)}'` CEPH_CODENAME=`ceph -v | grep ceph | awk '{print $(NF-1)}'`
source /etc/os-release source /etc/os-release