kali: 修复纯 ipv6 无法安装 kali
This commit is contained in:
parent
302d8970bf
commit
8ef7f268cd
@ -816,8 +816,9 @@ setos() {
|
|||||||
if is_in_china; then
|
if is_in_china; then
|
||||||
deb_hostname=mirrors.tuna.tsinghua.edu.cn
|
deb_hostname=mirrors.tuna.tsinghua.edu.cn
|
||||||
else
|
else
|
||||||
|
# http.kali.org 没有 ipv6 地址
|
||||||
# http.kali.org (geoip 重定向) 到 kali.download (cf)
|
# http.kali.org (geoip 重定向) 到 kali.download (cf)
|
||||||
deb_hostname=http.kali.org
|
deb_hostname=kali.download
|
||||||
fi
|
fi
|
||||||
codename=kali-rolling
|
codename=kali-rolling
|
||||||
mirror=http://$deb_hostname/kali/dists/$codename/main/installer-$basearch_alt/current/images/netboot/debian-installer/$basearch_alt
|
mirror=http://$deb_hostname/kali/dists/$codename/main/installer-$basearch_alt/current/images/netboot/debian-installer/$basearch_alt
|
||||||
|
Loading…
Reference in New Issue
Block a user