From 53335a754c6ef00469d87e4dc07bffbac8b40bfd Mon Sep 17 00:00:00 2001 From: spiritlhl <103393591+spiritLHLS@users.noreply.github.com> Date: Mon, 31 Jul 2023 18:42:16 +0800 Subject: [PATCH] Update install_pve.sh --- scripts/install_pve.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/install_pve.sh b/scripts/install_pve.sh index bf37ccf..24ddf65 100644 --- a/scripts/install_pve.sh +++ b/scripts/install_pve.sh @@ -978,7 +978,7 @@ fi # 修复网卡可能存在的auto类型 rebuild_interfaces fix_interfaces_ipv6_auto_type -# 特殊处理Hetzner +# 特殊处理Hetzner和Azure的情况 if [[ $dmidecode_output == *"Hetzner_vServer"* ]] || [[ $dmidecode_output == *"Microsoft Corporation"* ]]; then auto_interface=$(grep '^auto ' /etc/network/interfaces | grep -v '^auto lo' | awk '{print $2}' | head -n 1) if ! grep -q "^post-up /sbin/ethtool" /etc/network/interfaces; then