mirror of
https://github.com/thelittlerocket/pve.git
synced 2025-01-31 18:18:28 +08:00
Update install_pve.sh
This commit is contained in:
parent
441e636e23
commit
66159fd210
1 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue