diff --git a/scripts/install_pve.sh b/scripts/install_pve.sh index 3872522..2f6463d 100644 --- a/scripts/install_pve.sh +++ b/scripts/install_pve.sh @@ -698,13 +698,14 @@ if [ ! -f "/usr/local/bin/reboot_pve.txt" ]; then sed -i 's#http://debian-archive.trafficmanager.net/debian-security#http://security.debian.org/debian-security#g' /etc/apt/sources.list sed -i 's#http://debian-archive.trafficmanager.net/debian bullseye-updates#http://deb.debian.org/debian bullseye-updates#g' /etc/apt/sources.list sed -i 's#http://debian-archive.trafficmanager.net/debian bullseye-backports#http://deb.debian.org/debian bullseye-backports#g' /etc/apt/sources.list + # if [[ "${inet_dhcp}" == true ]]; then + # # 特殊处理原有配置是dhcp的情况 + # prebuild_ifupdown2 + # fi fi if [[ $output == *"Hetzner_vServer"* ]]; then # 特殊处理Hetzner prebuild_ifupdown2 - elif [[ "${inet_dhcp}" == true ]]; then - # 特殊处理原有配置是dhcp的情况 - prebuild_ifupdown2 fi # # 特殊处理OVH # if dig -x $main_ipv4 | grep -q "vps.ovh"; then