bin456789 / reinstall

一键DD/重装脚本 (One-click reinstall OS on VPS)
GNU General Public License v3.0
1.26k stars 224 forks source link

能否支持 IPv6 Only 机器? #10

Closed 5t-RawBeRry closed 9 months ago

5t-RawBeRry commented 9 months ago
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   202    0   202    0     0  10243      0 --:--:-- --:--:-- --:--:-- 11222
***** SET FINALOS ALPINE 3.18 *****
/usr/bin/systemd-detect-virt
kvm
***** SET NEXTOS ALPINE 3.18 *****
/usr/bin/systemd-detect-virt
kvm
***** DOWNLOAD VMLNUZ AND INITRD *****
http://mirrors.tuna.tsinghua.edu.cn/alpine/v3.18/releases/x86_64/netboot/vmlinuz-virt
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 8922k  100 8922k    0     0  14.8M      0 --:--:-- --:--:-- --:--:-- 14.8M
http://mirrors.tuna.tsinghua.edu.cn/alpine/v3.18/releases/x86_64/netboot/initramfs-virt
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100 7003k  100 7003k    0     0  12.9M      0 --:--:-- --:--:-- --:--:-- 12.9M
***** MOD ALPINE INITRD *****
39518 blocks
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0
curl: (7) Failed to connect to ghproxy.com port 443 after 8 ms: Couldn't connect to server
Error: line 50 return 7
    command curl --connect-timeout 5 --retry 2 --retry-delay 1 -f "$@"

看起来是 ghproxy.com 没有IPv6 解析

bin456789 commented 9 months ago

嗯,我找下有没有支持ipv6的国内代理

bin456789 commented 9 months ago

找到一个支持 ipv6 的代理 现在应该可以用了 curl -O https://ghps.cc/https://raw.githubusercontent.com/bin456789/reinstall/main/reinstall.sh