更新 readme.MD

This commit is contained in:
lc 2025-02-13 04:39:52 +00:00
parent 7a0f4918d0
commit 77b84d1818

View File

@ -7,3 +7,13 @@ curl -sSL https://git.soao.net/lc/my/raw/branch/main/docker.sh -o docker.sh && s
````bash
curl -sSL https://git.soao.net/lc/my/raw/branch/main/rocky-cn.sh -o rocky-cn.sh && sh rocky-cn.sh
````
## 修改 rocky的网络配置
```bash
ls /etc/NetworkManager/system-connections
vim /etc/NetworkManager/system-connections/ens192.nmconnection
----
[ipv4]
method=manual
address1=192.168.2.213/24,192.168.2.1
dns=8.8.8.8;8.8.4.4
````