2024.02.20

This commit is contained in:
spiritlhl 2024-02-20 08:54:32 +00:00
parent d7d1cfcc0d
commit 53200376b1
3 changed files with 33 additions and 29 deletions

View file

@ -1,5 +1,9 @@
# 更新日志
2024.02.19
- 优化CT创建的系统选择判断支持宽泛的无指定具体版本的系统
2024.02.18
- 修复低版本PVE删除非企业订阅弹窗可能失效的问题

View file

@ -12,9 +12,9 @@
## 更新
2024.02.19
2024.02.20
- 优化CT创建的系统选择判断支持宽泛的无指定具体版本的系统
- 优化环境检测脚本IPV6不可用时不检测SLAAC配置
[更新日志](CHANGELOG.md)

View file

@ -1,7 +1,7 @@
#!/bin/bash
# from
# https://github.com/spiritLHLS/pve
# 2024.02.16
# 2024.02.20
# 用颜色输出信息
_red() { echo -e "\033[31m\033[01m$@\033[0m"; }
@ -350,7 +350,6 @@ if command -v lshw >/dev/null 2>&1; then
_green "ipv6_address: ${ipv6_address}"
_green "ipv6_prefixlen: ${ipv6_prefixlen}"
_green "ipv6_gateway: ${ipv6_gateway}"
fi
mac_address=$(ip a | grep -oP 'link/ether \K[0-9a-f:]+')
mac_end_suffix=$(echo $mac_address | awk -F: '{print $4$5}')
ipv6_end_suffix=${ipv6_address##*:}
@ -378,6 +377,7 @@ if command -v lshw >/dev/null 2>&1; then
echo "" >/usr/local/bin/pve_slaac_status
fi
fi
fi
# 检测硬件配置
check_config