Browse Source

Add curl command line for IPv6-only machines

Bohan Yang 5 years ago
parent
commit
972099cf50
1 changed files with 3 additions and 0 deletions
  1. 3 0
      README.md

+ 3 - 0
README.md

@@ -33,6 +33,9 @@ This script is written to reinstall a VPS/virtual machine to Debian 10 Buster.
 Download the script with curl:
 Download the script with curl:
 
 
     curl -fLO https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh
     curl -fLO https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh
+    
+    # for IPv6-only machines
+    curl -fLO  --resolve 'raw.githubusercontent.com:443:2a04:4e42::133' https://raw.githubusercontent.com/bohanyang/debi/master/debi.sh
 
 
 or wget:
 or wget: