core: 添加参数禁止安装云内核

This commit is contained in:
bin456789
2026-09-07 19:21:11 +08:00
parent 86b88f5b71
commit 5db0516751
4 changed files with 41 additions and 13 deletions
+1
View File
@@ -189,6 +189,7 @@ bash reinstall.sh anolis 7|8|23
- `--ssh-port PORT` 修改 SSH 端口
- `--web-port PORT` 修改 Web 端口(安装期间观察日志用)
- `--frpc-config PATH` 添加 frpc 内网穿透,参数填配置文件的本地路径或 HTTP 链接
- `--no-cloud-kernel` 不使用云内核,避免部分机器黑屏/花屏,适用于 Debian、Ubuntu、Alpine
- `--hold 1` 仅重启到安装环境,不运行安装,用于 SSH 登录验证网络连通性
- `--hold 2` 安装结束后不重启,用于 SSH 登录修改系统内容,Debian/Kali 会挂载在 `/target`,其它系统会挂载在 `/os`