Skip to content

Commit

Permalink
Update prepare.go
Browse files Browse the repository at this point in the history
The old installation script mirror source has expired. Replace it with a valid URL.
  • Loading branch information
azurity authored Jul 20, 2024
1 parent 46ad68f commit fb878b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/cli/prepare/prepare.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ func InstallK3S(masterIP string, k3sExec string) {
}
log.Println("download k3s install script...")
client := &http.Client{}
k3sReq, _ := http.NewRequest("GET", "https://rancher-mirror.oss-cn-beijing.aliyuncs.com/k3s/k3s-install.sh", nil)
k3sReq, _ := http.NewRequest("GET", "https://rancher-mirror.rancher.cn/k3s/k3s-install.sh", nil)
k3sReq.Header.Set("Accept-Encoding", "*")
k3sRes, err := client.Do(k3sReq)
if err != nil {
Expand Down

0 comments on commit fb878b3

Please sign in to comment.