Merge pull request #28778 from ivan4th/support-custom-fedora-repos-in-vagrant-provider
Automatic merge from submit-queue Support custom Fedora repos in vagrant provider Sometimes `KUBERNETES_PROVIDER=vagrant cluster/kube-up.sh` fails due to problems with Fedora's metalink URL: ``` Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-23&arch=x86_64 [Connection timed out after 120002 milliseconds] ``` This PR makes it possible to specify a custom Fedora repository URL: ``` export CUSTOM_FEDORA_REPOSITORY_URL=https://download.fedoraproject.org/pub/fedora/ ``` []() <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.kubernetes.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.kubernetes.io/reviews/kubernetes/kubernetes/28778) <!-- Reviewable:end -->
This commit is contained in:
@@ -429,6 +429,20 @@ environment variables. For example, if running `make quick-release`, use:
|
||||
sudo -E make quick-release
|
||||
```
|
||||
|
||||
#### I have repository access errors during VM provisioning!
|
||||
|
||||
Sometimes VM provisioning may fail with errors that look like this:
|
||||
|
||||
```
|
||||
Timeout was reached for https://mirrors.fedoraproject.org/metalink?repo=fedora-23&arch=x86_64 [Connection timed out after 120002 milliseconds]
|
||||
```
|
||||
|
||||
You may use a custom Fedora repository URL to fix this:
|
||||
|
||||
```shell
|
||||
export CUSTOM_FEDORA_REPOSITORY_URL=https://download.fedoraproject.org/pub/fedora/
|
||||
```
|
||||
|
||||
#### I ran vagrant suspend and nothing works!
|
||||
|
||||
`vagrant suspend` seems to mess up the network. It's not supported at this time.
|
||||
|
Reference in New Issue
Block a user