mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-03-04 01:38:12 +08:00
Update install_pve.sh
This commit is contained in:
parent
edeb01fcd0
commit
77127a7f9f
1 changed files with 2 additions and 2 deletions
|
@ -599,8 +599,6 @@ 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"
|
||||
|
@ -673,6 +671,8 @@ fix_interfaces_ipv6_auto_type /etc/network/interfaces
|
|||
statistics_of_run-times
|
||||
# 检测是否已重启过
|
||||
if [ ! -f "/usr/local/bin/reboot_pve.txt" ]; then
|
||||
# 确保时间没问题
|
||||
check_time_zone
|
||||
output=$(dmidecode -t system)
|
||||
# 特殊处理Azure
|
||||
if [[ $output == *"Microsoft Corporation"* ]]; then
|
||||
|
|
Loading…
Reference in a new issue