2023.07.31

This commit is contained in:
spiritlhl 2023-07-31 01:12:09 +00:00
parent 42bf8863e1
commit 5ec5b0c3e6

View file

@ -537,8 +537,6 @@ if [ "$system_arch" = "arch" ]; then
systemctl disable NetworkManager
systemctl stop NetworkManager
fi
# 确保时间没问题
check_time_zone
# 确保apt没有问题
apt-get update -y
apt-get full-upgrade -y
@ -591,6 +589,8 @@ install_package dmidecode
install_package dnsutils
install_package ethtool
check_haveged
# 确保时间没问题
check_time_zone
# 检测系统信息
_yellow "Detecting system information, will probably stay on the page for up to 1~2 minutes"
@ -656,8 +656,6 @@ if [ ! -f "/etc/network/interfaces" ]; then
fi
# 网络配置修改
rebuild_interfaces
# cloudinit 重构
rebuild_cloud_init
fix_interfaces_ipv6_auto_type /etc/network/interfaces