This commit is contained in:
SuperManito
2024-01-31 22:39:05 +08:00
parent d4e0cb395b
commit 0f2c7d88f4
8 changed files with 428 additions and 309 deletions

View File

@@ -10,7 +10,7 @@
| `--branch-security` | 指定 Debian 的 security 软件源分支(路径) | 分支名 |
| `--branch-vault` | 指定 CentOS/AlmaLinux 的 vault 软件源分支(路径) | 分支名 |
| `--codename` | 指定 Debian 系操作系统的版本代号 | 代号名称 |
| `--web-protocol` | 指定 WEB 协议 | `http``https` |
| `--protocol` | 指定 WEB 协议 | `http``https` |
| `--intranet` | 优先使用内网地址 | `true``false` |
| `--install-epel` | 安装 EPEL 附加软件包 | `true``false` |
| `--only-epel` | 仅更换 EPEL 软件源模式 | 无 |
@@ -155,7 +155,7 @@ bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
``` { .bash .no-copy title="参考命令" }
bash <(curl -sSL https://linuxmirrors.cn/main.sh) \
--source mirror.example.com \
--web-protocol http \
--protocol http \
--intranet false \
--install-epel true \
--close-firewall true \