This commit is contained in:
spiritlhl 2023-06-24 10:11:13 +00:00
parent 12268db483
commit 29aade8ccd
2 changed files with 3 additions and 2 deletions

View file

@ -14,7 +14,8 @@
2023.06.24 2023.06.24
- 修复部分机器是IPV6子网前缀识别失效的问题 - 修复部分机器是IPV6子网前缀识别失效的问题
- 更新Debian12安装的PVE版本为Stable - 更新Debian12安装的PVE版本为stable
- 修复部分机器ifconfig命令不存在的问题
[更新日志](CHANGELOG.md) [更新日志](CHANGELOG.md)

View file

@ -238,6 +238,7 @@ install_package sudo
install_package bc install_package bc
install_package iptables install_package iptables
install_package lshw install_package lshw
install_package net-tools
# 检测IPV4 # 检测IPV4
ip=$(ip -4 addr show | grep global | awk '{print $2}' | cut -d '/' -f1 | head -n 1) ip=$(ip -4 addr show | grep global | awk '{print $2}' | cut -d '/' -f1 | head -n 1)
# 检测物理接口和MAC地址 # 检测物理接口和MAC地址
@ -516,7 +517,6 @@ case $version in
exit 1 exit 1
;; ;;
esac esac
install_package net-tools
install_package novnc install_package novnc
install_package cloud-init install_package cloud-init
rebuild_cloud_init rebuild_cloud_init