diff --git a/test/e2e_node/remote/utils.go b/test/e2e_node/remote/utils.go index ae613f9eef..28ab74cf52 100644 --- a/test/e2e_node/remote/utils.go +++ b/test/e2e_node/remote/utils.go @@ -56,7 +56,7 @@ func setupCNI(host, workspace string) error { cniPath := filepath.Join(workspace, cniDirectory) cmd := getSSHCommand(" ; ", fmt.Sprintf("mkdir -p %s", cniPath), - fmt.Sprintf("wget -O - %s | tar -xz -C %s", cniURL, cniPath), + fmt.Sprintf("curl -s -L %s | tar -xz -C %s", cniURL, cniPath), ) if output, err := SSH(host, "sh", "-c", cmd); err != nil { return fmt.Errorf("failed to install cni plugin on %q: %v output: %q", host, err, output)