kali: 修复纯 ipv6 无法安装 kali

This commit is contained in:
bin456789 2024-05-29 21:30:24 +08:00
parent 302d8970bf
commit 8ef7f268cd
No known key found for this signature in database
GPG Key ID: EE301B386DE6C11B

View File

@ -816,8 +816,9 @@ setos() {
if is_in_china; then
deb_hostname=mirrors.tuna.tsinghua.edu.cn
else
# http.kali.org 没有 ipv6 地址
# http.kali.org (geoip 重定向) 到 kali.download (cf)
deb_hostname=http.kali.org
deb_hostname=kali.download
fi
codename=kali-rolling
mirror=http://$deb_hostname/kali/dists/$codename/main/installer-$basearch_alt/current/images/netboot/debian-installer/$basearch_alt