mirror of
https://github.com/oneclickvirt/pve.git
synced 2024-09-20 15:05:56 +08:00
2024.02.20
This commit is contained in:
parent
d7d1cfcc0d
commit
53200376b1
|
@ -1,5 +1,9 @@
|
||||||
# 更新日志
|
# 更新日志
|
||||||
|
|
||||||
|
2024.02.19
|
||||||
|
|
||||||
|
- 优化CT创建的系统选择判断,支持宽泛的无指定具体版本的系统
|
||||||
|
|
||||||
2024.02.18
|
2024.02.18
|
||||||
|
|
||||||
- 修复低版本PVE删除非企业订阅弹窗可能失效的问题
|
- 修复低版本PVE删除非企业订阅弹窗可能失效的问题
|
||||||
|
|
|
@ -12,9 +12,9 @@
|
||||||
|
|
||||||
## 更新
|
## 更新
|
||||||
|
|
||||||
2024.02.19
|
2024.02.20
|
||||||
|
|
||||||
- 优化CT创建的系统选择判断,支持宽泛的无指定具体版本的系统
|
- 优化环境检测脚本,IPV6不可用时不检测SLAAC配置
|
||||||
|
|
||||||
[更新日志](CHANGELOG.md)
|
[更新日志](CHANGELOG.md)
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
# from
|
# from
|
||||||
# https://github.com/spiritLHLS/pve
|
# https://github.com/spiritLHLS/pve
|
||||||
# 2024.02.16
|
# 2024.02.20
|
||||||
|
|
||||||
# 用颜色输出信息
|
# 用颜色输出信息
|
||||||
_red() { echo -e "\033[31m\033[01m$@\033[0m"; }
|
_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_address: ${ipv6_address}"
|
||||||
_green "ipv6_prefixlen: ${ipv6_prefixlen}"
|
_green "ipv6_prefixlen: ${ipv6_prefixlen}"
|
||||||
_green "ipv6_gateway: ${ipv6_gateway}"
|
_green "ipv6_gateway: ${ipv6_gateway}"
|
||||||
fi
|
|
||||||
mac_address=$(ip a | grep -oP 'link/ether \K[0-9a-f:]+')
|
mac_address=$(ip a | grep -oP 'link/ether \K[0-9a-f:]+')
|
||||||
mac_end_suffix=$(echo $mac_address | awk -F: '{print $4$5}')
|
mac_end_suffix=$(echo $mac_address | awk -F: '{print $4$5}')
|
||||||
ipv6_end_suffix=${ipv6_address##*:}
|
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
|
echo "" >/usr/local/bin/pve_slaac_status
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# 检测硬件配置
|
# 检测硬件配置
|
||||||
check_config
|
check_config
|
||||||
|
|
Loading…
Reference in a new issue