From 88891aa1f5acd0caac6783eec5ed29f52647078c Mon Sep 17 00:00:00 2001 From: CallMeR <9463297+callmer@user.noreply.gitee.com> Date: Mon, 26 Jun 2023 21:58:03 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20PVE=20=E5=88=B6=E4=BD=9C?= =?UTF-8?q?=E8=99=9A=E6=8B=9F=E6=9C=BA=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 05.PVE制作虚拟机模板.md | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/05.PVE制作虚拟机模板.md b/05.PVE制作虚拟机模板.md index 7386309..ee01fb6 100644 --- a/05.PVE制作虚拟机模板.md +++ b/05.PVE制作虚拟机模板.md @@ -54,11 +54,8 @@ $ sudo systemctl restart ssh.service Debian12 云镜像的软件源配置采用了 `DEB822` 格式,新版 `sources.list` 配置文件内容如下。 ```bash -## 进入系统源配置文件目录 -$ cd /etc/apt/ - ## 查看镜像配置文件 -$ cat sources.list +$ cat /etc/apt/sources.list #### 配置文件示例输出 # See /etc/apt/sources.list.d/debian.sources @@ -435,10 +432,10 @@ $ sudo crontab -e $ cd ## 使用 curl 安装 oh-my-zsh -$ sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" +$ sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" ## 或者使用 wget 安装 oh-my-zsh -$ sh -c "$(wget https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" +$ sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)" ## 询问是否切换默认 shell,输入 Y