398 Commits

Author SHA1 Message Date
bin456789 530019d1dc alpine: 添加 3.24 2026-06-11 00:12:39 +08:00
bin456789 ade92af7ea fnos: 添加飞牛国际版
fixes #630
2026-06-09 23:08:15 +08:00
bin456789 ad80822511 core: 修复 ubuntu 22.04 下运行报错
fixes #624
2026-05-29 15:35:48 +08:00
bin456789 2e6d5e6c61 core: 不重要的更新 2026-05-29 07:25:17 +08:00
bin456789 bd48e70776 core: 支持 linux 设置普通账号 2026-05-29 07:25:16 +08:00
wmwlwmwl 39318e4ad2 若已设置则显示SSH端口 (#594)
如果指定了SSH端口,则输出该端口信息。
2026-05-24 22:03:24 +08:00
bin456789 8d099f167f core: 修复原系统为 bios + nixos 重启后未能进入安装环境 2026-05-20 21:15:43 +08:00
bin456789 9e71f131db opensuse: 删除 leap 15.6 和 wicked 2026-05-11 20:20:33 +08:00
bin456789 139c342b7e windows: 支持使用非 administrator 账号 2026-05-05 22:55:00 +08:00
bin456789 c5c77b2ecc core: efibootmgr 报错时显示执行的命令和结果 2026-05-03 23:08:03 +08:00
bin456789 0156afbbe7 fedora: 安装时使用 mount -a 挂载分区和子卷
fedora: 添加 44
2026-04-30 22:08:15 +08:00
bin456789 0db534c4fd core: 不重要的优化 2026-04-28 07:33:09 +08:00
bin456789 c3a5fff760 core: 优化 powershell 查询
- 避免 wmic where 条件有空格时报错
- 减少 ForEach-Object 以提高速度
2026-04-28 07:33:08 +08:00
bin456789 86d6976d96 core: 添加 pci-hyperv / vpci.sys 驱动
修复 Azure 安装 debian / windows 10 ltsc 时不到 nvme 硬盘
2026-04-28 07:33:07 +08:00
bin456789 ae40929383 core: 检查原 alpine 系统是否用 latest-stable 源 2026-04-25 23:16:52 +08:00
bin456789 d55a27c1a2 debian: 修复在 256M 内存安装模式下无法识别 nvme 硬盘 2026-04-24 23:12:53 +08:00
bin456789 22d7a9a238 ubuntu: 添加 26.04, 删除 16.04 2026-04-24 00:12:09 +08:00
bin456789 ae3ad40c75 core: 修复在 el 的 sh 下无法运行 2026-04-12 18:10:09 +08:00
bin456789 07d8018db3 core: 精确地按编号选择分区
避免同时有 mmcblk0p1 和 mmcblk0boot1 时导致错误
fixes #581
2026-03-24 13:16:38 +08:00
王煎饼 e104735538 core: 使用 fedora 的 grub efi
关联 #577
2026-03-17 11:33:48 +08:00
bin456789 43e226cc5c windows: 移除旧版本系统的 iso 查找
massgrave 网站移除了旧版系统的 Iso
2026-03-16 22:50:42 +08:00
bin456789 c6000c16ab core: 修复在 windows 下打包 initramfs 时, 修改了 rdisc6 的 owner 导致 rdisc6 无法运行
造成 ipv6 统一配置成静态

> rdisc6 ens5
Raw IPv6 socket: Operation not permitted

> ls -l /usr/bin/rdisc6
-rwsr-xr-x 1 197108 197121 26648 Jan 14 2024 /usr/bin/rdisc6
2026-03-15 23:43:52 +08:00
bin456789 8dd873d7dd core: 将 grep --text 改成 -a
避免脚本早期运行时在 alpine 下报错
2026-03-15 23:32:51 +08:00
bin456789 5e2f46444c fnos: 允许指定 iso 链接
fixes #567
2026-03-10 01:06:10 +08:00
bin456789 c784479408 core: 添加 reset 模式取消重装 2026-03-10 00:09:05 +08:00
bin456789 ca11ab5ef8 core: 不重要的更改 2026-03-10 00:09:05 +08:00
bin456789 2c6b28108a core: 支持 frpc.ini 2026-03-08 23:50:50 +08:00
kelryry 5b0d91c633 fix: select correct primary IPv6 address whose subnet contains the gateway (#561)
* fix: select correct primary IPv6 address whose subnet contains the gateway

When a system has multiple IPv6 addresses with different prefix lengths
(e.g., /44 and /96), the script previously selected the first address
as primary regardless of whether its subnet contained the default gateway.
This caused the gateway to be unreachable after reinstallation.

This change:
- Adds pure shell expand_ipv6 and ip_addr_contains_gw functions to
  determine which IPv6 subnet contains the gateway (no python dependency)
- Modifies collect_netconf to select the correct primary IPv6 address
- Stores remaining addresses as ipv6_extra_addrs
- Adds extra IPv6 addresses via post-up in create_ifupdown_config

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: address review feedback for IPv6 extra addrs and edge cases

- Pass ipv6_extra_addrs through initrd-network.sh (receive as $7,
  add extra addresses in add_missing_ipv6_config, write to netconf)
  so that trans.sh can read them via get_netconf_to
- Fix cut -c1-0 error when prefix_len < 4 in ip_addr_contains_gw
- Use grep -Fxve for exact string matching instead of regex

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: use subshell for IFS modification to avoid leaking to outer scope

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: avoid global IFS modification when iterating extra IPv6 addresses

Replace subshell IFS trick with tr+while read to split comma-separated
ipv6_extra_addrs, avoiding any modification of the IFS variable.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

* fix: use ip route get instead of subnet matching for IPv6 primary address selection

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-08 22:17:59 +08:00
Heng lu 99b99cc7ac "chore: 为 --cloud-data 添加文档,同时cloud-data工作时在 dd info output中显示 (#560) 2026-02-26 20:01:07 +08:00
bin456789 81081873df windows: 查找到的链接是 / 开头时,补全域名 2026-02-13 00:03:36 +08:00
bin456789 4cf8e81fc7 windows: 修复查找 windows server 2025 iso 失效 2026-02-12 22:54:47 +08:00
bin456789 ff4b6de258 fnos: 修复飞牛链接失效
fixes #555
fixes #557
2026-02-12 22:27:20 +08:00
Heng lu fc7bdc5711 dd 引入cloud-data 提供 nocloud自动配置 (#551) 2026-02-12 22:14:04 +08:00
bin456789 f2cfe672d1 windows: 修复查找 iso 功能失效
现在 massgrave 的 iso 链接 href="" 少了双引号
2026-01-18 18:51:37 +08:00
bin456789 259bcf7275 windows: 适配 massgrave 新镜像链接 2026-01-07 23:10:09 +08:00
bin456789 74d9524a9b fnos: 优化飞牛安装
- 支持 bios + gpt
- 支持 arm
2026-01-07 21:34:17 +08:00
bin456789 2a561f0d8c core: 添加 alpine 3.23, nixos 25.11 2025-12-04 19:43:54 +08:00
bin456789 586eb5dee1 opensuse: 16.0 重新使用 cloud 镜像 2025-12-04 19:43:53 +08:00
bin456789 c94f334663 core: 用 sh 运行时自动切换成 bash 2025-12-04 19:43:52 +08:00
JieXu bd5e118570 core: 修复 ECDSA-P521 设置报错 (#480)
fixes #479
2025-11-10 19:37:18 +08:00
bin456789 78ba0690f9 windows: 添加 win8 链接 2025-11-04 22:17:11 +08:00
bin456789 3263ea3875 core: 改成使用 /dev/urandom 以修复生成随机密码时阻塞
fixes #469
fixes #471
2025-11-04 21:54:21 +08:00
bin456789 8b838f8871 core: 不重要的优化 2025-10-31 07:50:45 +08:00
bin456789 85637edc5b windows: 优化镜像查找 2025-10-31 07:50:43 +08:00
bin456789 baa430eb10 core: --frpc-toml 允许使用 http 链接 2025-10-31 07:50:43 +08:00
bin456789 af84ac0b3c core: 默认使用随机密码 2025-10-31 07:50:41 +08:00
bin456789 24a4446a02 debian: 支持在安装过程中开启 ssh 2025-10-31 07:50:40 +08:00
bin456789 780e1a694f fedora: 添加 43 2025-10-29 00:06:54 +08:00
bin456789 43ba86076f windows: 修复无法查找 win11 pro arm iso
fixes #460
2025-10-28 23:21:41 +08:00
bin456789 f22cda1f10 opensuse: 添加 16.0 2025-10-18 23:41:24 +08:00