Commit Graph

846 Commits

Author SHA1 Message Date
37af3fcd5f nixos: 配置安装时 substituters (#619) 2026-05-20 21:05:39 +08:00
9e71f131db opensuse: 删除 leap 15.6 和 wicked 2026-05-11 20:20:33 +08:00
e03ac1cdb3 core: 必要时才修改 ssh 配置 2026-05-11 20:18:44 +08:00
65c3085416 windows: 使用 ProductType 判断 Windows Client/Server 2026-05-09 22:04:24 +08:00
139c342b7e windows: 支持使用非 administrator 账号 2026-05-05 22:55:00 +08:00
107c56ac59 windows: 修复无法从法语版 win7 wmic 取出主硬盘 id 2026-05-05 22:35:47 +08:00
2f36c30a7d gentoo: 修复安装 dracut 时报错 2026-05-05 22:35:47 +08:00
7712a0baae windows: 国内机下载驱动出错后使用 daocloud 镜像 2026-05-04 02:57:08 +08:00
c5c77b2ecc core: efibootmgr 报错时显示执行的命令和结果 2026-05-03 23:08:03 +08:00
0156afbbe7 fedora: 安装时使用 mount -a 挂载分区和子卷
fedora: 添加 44
2026-04-30 22:08:15 +08:00
047b82aaa0 core: 用于引导参数时不需要判断 tty 是否存在和可写 2026-04-28 07:33:09 +08:00
0db534c4fd core: 不重要的优化 2026-04-28 07:33:09 +08:00
07b46d78b0 windows: 删除 ProtectYourPC 设置,使首次登录可自定义隐私选项 2026-04-28 07:33:09 +08:00
0b1a0d2f69 windows: 优化安装流程 2026-04-28 07:33:08 +08:00
c3a5fff760 core: 优化 powershell 查询
- 避免 wmic where 条件有空格时报错
- 减少 ForEach-Object 以提高速度
2026-04-28 07:33:08 +08:00
4bb20b81eb windows: 国内服务器访问 intel.cn 2026-04-28 07:33:08 +08:00
86d6976d96 core: 添加 pci-hyperv / vpci.sys 驱动
修复 Azure 安装 debian / windows 10 ltsc 时不到 nvme 硬盘
2026-04-28 07:33:07 +08:00
ae40929383 core: 检查原 alpine 系统是否用 latest-stable 源 2026-04-25 23:16:52 +08:00
5b332868ea core: 首次开机等待网卡名稳定 10 秒 2026-04-25 23:16:52 +08:00
d55a27c1a2 debian: 修复在 256M 内存安装模式下无法识别 nvme 硬盘 2026-04-24 23:12:53 +08:00
22d7a9a238 ubuntu: 添加 26.04, 删除 16.04 2026-04-24 00:12:09 +08:00
ae3ad40c75 core: 修复在 el 的 sh 下无法运行 2026-04-12 18:10:09 +08:00
2d676731bb windows: 修复 frpc 无法启动
fixes #589
2026-03-29 17:01:44 +08:00
93e83dfc58 nixos: 在使用DHCP的时候显式设置useDHCP=true; (#587) 2026-03-26 22:02:19 +08:00
e93d71680c fnos: 用 parted 创建系统分区时,末端设为 100%,安装系统后再缩小
解决系统盘设为 8G 时空间不足 #585
2026-03-26 21:01:25 +08:00
f0fc83a060 windows: 对初始系统为 linux 的 aws xen 实例使用旧版本驱动
否则安装 ws2022/ws2025 时会 IRQL_NOT_LESS_OR_EQUAL 蓝屏
2026-03-24 19:17:16 +08:00
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
43e226cc5c windows: 移除旧版本系统的 iso 查找
massgrave 网站移除了旧版系统的 Iso
2026-03-16 22:50:42 +08:00
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
8dd873d7dd core: 将 grep --text 改成 -a
避免脚本早期运行时在 alpine 下报错
2026-03-15 23:32:51 +08:00
41c4df9fdb windows: 修复 image-name 有特殊符号时出错
fixes #575
2026-03-15 17:19:22 +08:00
f0b3a475fc windows: 修复 iso 里面文件大小写引起的引导问题
1. iso 里面的 boot 文件夹字母不是全小写,导致用 grub-install --boot-directory=/os/boot 安装后无法从 boot 文件夹读取模块
2. iso 里面的 boot bootmgr 的 boot 大小写不一致导致没有复制 bootmgr

fixes #568
2026-03-10 01:07:20 +08:00
5e2f46444c fnos: 允许指定 iso 链接
fixes #567
2026-03-10 01:06:10 +08:00
c784479408 core: 添加 reset 模式取消重装 2026-03-10 00:09:05 +08:00
ca11ab5ef8 core: 不重要的更改 2026-03-10 00:09:05 +08:00
2c6b28108a core: 支持 frpc.ini 2026-03-08 23:50:50 +08:00
28119bb0c5 windows: 对旧版本 windows 使用旧版 frpc 2026-03-08 23:50:50 +08:00
53e699fa11 windows: 更准确地下载 vmd 驱动版本 2026-03-08 23:50:50 +08:00
b2f2927c4e windows: 用 winload.exe/efi 版本号判断 vista/win7 是否支持 sha256 2026-03-08 23:50:49 +08:00
13e3155d02 windows: 只从注册表获取系统版本号 2026-03-08 23:50:49 +08:00
5b1b9103f4 windows: 支持 install.swm 2026-03-08 23:50:49 +08:00
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
ecacaab103 gentoo: 修复运行 getuto 时找不到 ebegin
fixes #566
2026-03-07 23:19:00 +08:00
99b99cc7ac "chore: 为 --cloud-data 添加文档,同时cloud-data工作时在 dd info output中显示 (#560) 2026-02-26 20:01:07 +08:00
81081873df windows: 查找到的链接是 / 开头时,补全域名 2026-02-13 00:03:36 +08:00
4cf8e81fc7 windows: 修复查找 windows server 2025 iso 失效 2026-02-12 22:54:47 +08:00
ff4b6de258 fnos: 修复飞牛链接失效
fixes #555
fixes #557
2026-02-12 22:27:20 +08:00
fc7bdc5711 dd 引入cloud-data 提供 nocloud自动配置 (#551) 2026-02-12 22:14:04 +08:00
f2cfe672d1 windows: 修复查找 iso 功能失效
现在 massgrave 的 iso 链接 href="" 少了双引号
2026-01-18 18:51:37 +08:00