mirror of
https://gitee.com/callmer/pve_toss_notes.git
synced 2026-08-31 05:52:52 +08:00
修复格式问题
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user