Skip to content

Commit d6ec40c

Browse files
authored
Merge pull request #21492 from medyagh/vmnet_mirror
update url for vmnet-helper
2 parents a4a2d24 + 6484004 commit d6ec40c

File tree

16 files changed

+42
-50
lines changed

16 files changed

+42
-50
lines changed

.github/workflows/functional_test.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -377,11 +377,7 @@ jobs:
377377
if: matrix.os == 'macos-13' && matrix.driver == 'vfkit'
378378
run: |
379379
brew install vfkit
380-
machine="$(uname -m)"
381-
archive="vmnet-helper-$machine.tar.gz"
382-
curl -LOf "https://github.com/nirs/vmnet-helper/releases/latest/download/$archive"
383-
sudo tar xvf "$archive" -C / opt/vmnet-helper
384-
sudo install -m 0640 /opt/vmnet-helper/share/doc/vmnet-helper/sudoers.d/vmnet-helper /etc/sudoers.d/
380+
curl -fsSL https://github.com/minikube-machine/vmnet-helper/releases/latest/download/install.sh | bash -s
385381
- name: Download Test Binaries
386382
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0
387383
with:

.github/workflows/smoke-test.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,7 @@ jobs:
112112
if: matrix.driver == 'vfkit'
113113
run: |
114114
brew install vfkit
115-
machine="$(uname -m)"
116-
archive="vmnet-helper-$machine.tar.gz"
117-
curl -LOf "https://github.com/nirs/vmnet-helper/releases/latest/download/$archive"
118-
sudo tar xvf "$archive" -C / opt/vmnet-helper
119-
sudo install -m 0640 /opt/vmnet-helper/share/doc/vmnet-helper/sudoers.d/vmnet-helper /etc/sudoers.d/
115+
curl -fsSL https://github.com/minikube-machine/vmnet-helper/releases/latest/download/install.sh | bash -s
120116
- name: Install qemu and socket_vmnet (macos)
121117
if: matrix.os == 'macos-13' && matrix.driver == 'qemu'
122118
run: |

pkg/minikube/reason/reason.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ var (
556556
557557
Please install vmnet-helper using these instructions:
558558
559-
https://github.com/nirs/vmnet-helper#installation`),
559+
curl -fsSL https://github.com/minikube-machine/vmnet-helper/releases/latest/download/install.sh | bash`),
560560
Style: style.SeeNoEvil,
561561
}
562562
NotConfiguredVmnetHelper = Kind{
@@ -565,8 +565,7 @@ var (
565565
Advice: translate.T(`Configure vmnet-helper to run without a password.
566566
567567
Please install a vmnet-helper sudoers rule using these instructions:
568-
569-
https://github.com/nirs/vmnet-helper#granting-permission-to-run-vmnet-helper`),
568+
curl -fsSL https://github.com/minikube-machine/vmnet-helper/releases/latest/download/install.sh | bash`),
570569
Style: style.SeeNoEvil,
571570
}
572571
)

site/content/en/docs/drivers/krunkit.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,7 @@ instructions below.
3737
### Install vment-helper
3838

3939
```shell
40-
machine="$(uname -m)"
41-
archive="vmnet-helper-$machine.tar.gz"
42-
curl -LOf "https://github.com/nirs/vmnet-helper/releases/latest/download/$archive"
43-
sudo tar xvf "$archive" -C / opt/vmnet-helper
44-
rm "$archive"
40+
curl -fsSL https://github.com/minikube-machine/vmnet-helper/releases/latest/download/install.sh | bash
4541
```
4642

4743
The command downloads the latest release from github and installs it to
@@ -51,19 +47,24 @@ The command downloads the latest release from github and installs it to
5147
> The vmnet-helper executable and the directory where it is installed
5248
> must be owned by root and may not be modifiable by unprivileged users.
5349
54-
### Grant permission to run vmnet-helper
50+
### Grant permission to run vmnet-helper manually (if said no to script above)
51+
5552

5653
The vment-helper process must run as root to create a vmnet interface.
5754
To allow users in the `staff` group to run the vmnet helper without a
5855
password, you can install the default sudoers rule:
5956

57+
The installation script will ask your permission to add to the sudoers but if you say no and prefer to do manually here is the command:
58+
6059
```shell
6160
sudo install -m 0640 /opt/vmnet-helper/share/doc/vmnet-helper/sudoers.d/vmnet-helper /etc/sudoers.d/
6261
```
6362

6463
You can change the sudoers configuration to allow access to specific
6564
users or other groups.
6665

66+
67+
6768
### Usage
6869

6970
```shell

site/content/en/docs/drivers/vfkit.md

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -35,25 +35,15 @@ installation instructions below.
3535
### Install vment-helper
3636

3737
```shell
38-
machine="$(uname -m)"
39-
archive="vmnet-helper-$machine.tar.gz"
40-
curl -LOf "https://github.com/nirs/vmnet-helper/releases/latest/download/$archive"
41-
sudo tar xvf "$archive" -C / opt/vmnet-helper
42-
rm "$archive"
38+
curl -fsSL https://github.com/minikube-machine/vmnet-helper/releases/latest/download/install.sh | bash
4339
```
4440

4541
The command downloads the latest release from github and installs it to
4642
`/opt/vmnet-helper`.
4743

48-
**IMPORTANT**: The vmnet-helper executable and the directory where it is
49-
installed must be owned by root and may not be modifiable by
50-
unprivileged users.
44+
### Grant permission to run vmnet-helper manually (if said no to script above)
5145

52-
### Grant permission to run vmnet-helper
53-
54-
The vment-helper process must run as root to create a vmnet interface.
55-
To allow users in the `staff` group to run the vmnet helper without a
56-
password, you can install the default sudoers rule:
46+
vmnet-helper must run as root to create a vmnet interface. To let users in the staff group run it without a password, install the default sudoers rule. The install script offers to add this automatically; if you declined, run the command below manually:
5747

5848
```shell
5949
sudo install -m 0640 /opt/vmnet-helper/share/doc/vmnet-helper/sudoers.d/vmnet-helper /etc/sudoers.d/
@@ -62,6 +52,12 @@ sudo install -m 0640 /opt/vmnet-helper/share/doc/vmnet-helper/sudoers.d/vmnet-he
6252
You can change the sudoers configuration to allow access to specific
6353
users or other groups.
6454

55+
56+
**IMPORTANT**: The vmnet-helper executable and the directory where it is
57+
installed must be owned by root and may not be modifiable by
58+
unprivileged users.
59+
60+
6561
### Usage
6662

6763
```shell

translations/de.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@
124124
"Configure an external network switch following the official documentation, then add `--hyperv-virtual-switch=\u003cswitch-name\u003e` to `minikube start`": "Konfigurieren Sie einen externen Netzwerk-Switch mit Hilfe der offiziellen Dokumentation, dann fügen Sie `--hyperv-virtual-switch=\u003cswitch-name\u003e` zum Start-Befehl `minikube start` hinzu",
125125
"Configure environment to use minikube's Docker daemon": "Konfiguriere die Umgebung um Minikubes Docker daemon zu verwenden",
126126
"Configure environment to use minikube's Podman service": "Konfiguriere die Umgebung um Minikubes Podman Service zu verwenden",
127-
"Configure vmnet-helper to run without a password.\n\n\t\tPlease install a vmnet-helper sudoers rule using these instructions:\n\n\t\thttps://github.com/nirs/vmnet-helper#granting-permission-to-run-vmnet-helper": "",
127+
"Configure vmnet-helper to run without a password.\n\n\t\tPlease install a vmnet-helper sudoers rule using these instructions:\n\t\t\tcurl -fsSL https://github.com/minikube-machine/vmnet-helper/releases/latest/download/install.sh | bash": "",
128128
"Configures the addon w/ADDON_NAME within minikube (example: minikube addons configure registry-creds). For a list of available addons use: minikube addons list": "Konfiguriert das Addon mit Name ADDON_NAME in Minikube (Beispiel: minikube addons configure registry-creds). Eine Liste aller verfügbaren Addons erhält man mit: minikube addons list",
129129
"Configuring RBAC rules ...": "Konfiguriere RBAC Regeln ...",
130130
"Configuring local host environment ...": "Konfiguriere Umgebung des lokalen Hosts ...",
@@ -1174,7 +1174,7 @@
11741174
"using metrics-server addon, heapster is deprecated": "Verwende Metrics-Server Addon, heapster ist veraltet (deprecated)",
11751175
"version json failure": "version json Fehler",
11761176
"version yaml failure": "version yaml Fehler",
1177-
"vmnet-helper was not found on the system.\n\n\t\tPlease install vmnet-helper using these instructions:\n\n\t\thttps://github.com/nirs/vmnet-helper#installation": "",
1177+
"vmnet-helper was not found on the system.\n\n\t\tPlease install vmnet-helper using these instructions:\n\n\t\t\tcurl -fsSL https://github.com/minikube-machine/vmnet-helper/releases/latest/download/install.sh | bash": "",
11781178
"yaml encoding failure": "Yaml Encoding Fehler",
11791179
"zsh completion failed": "zsh completion fehlgeschlagen",
11801180
"zsh completion.": "",

translations/el.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@
109109
"Configure a default route on this Linux host, or use another --driver that does not require it": "",
110110
"Configure an external network switch following the official documentation, then add `--hyperv-virtual-switch=\u003cswitch-name\u003e` to `minikube start`": "",
111111
"Configure environment to use minikube's Podman service": "Διαμόρφωση περιβάλλοντος για χρήση της υπηρεσίας Podman του minikube",
112+
"Configure vmnet-helper to run without a password.\n\n\t\tPlease install a vmnet-helper sudoers rule using these instructions:\n\t\t\tcurl -fsSL https://github.com/minikube-machine/vmnet-helper/releases/latest/download/install.sh | bash": "",
112113
"Configure vmnet-helper to run without a password.\n\n\t\tPlease install a vmnet-helper sudoers rule using these instructions:\n\n\t\thttps://github.com/nirs/vmnet-helper#granting-permission-to-run-vmnet-helper": "Διαμορφώστε το vmnet-helper ώστε να εκτελείται χωρίς κωδικό πρόσβασης.\n\n\t\tΕγκαταστήστε έναν κανόνα sudoers vmnet-helper χρησιμοποιώντας αυτές τις οδηγίες:\n\n\t\thttps://github.com/nirs/vmnet-helper#granting-permission-to-run-vmnet-helper",
113114
"Configures the addon w/ADDON_NAME within minikube (example: minikube addons configure registry-creds). For a list of available addons use: minikube addons list": "Διαμορφώνει το πρόσθετο με ADDON_NAME εντός του minikube (παράδειγμα: minikube addons configure registry-creds). Για μια λίστα με τα διαθέσιμα πρόσθετα χρησιμοποιήστε: minikube addons list",
114115
"Configuring RBAC rules ...": "Διαμόρφωση κανόνων RBAC ...",
@@ -1047,7 +1048,7 @@
10471048
"usage: minikube profile [MINIKUBE_PROFILE_NAME]": "",
10481049
"version json failure": "",
10491050
"version yaml failure": "",
1050-
"vmnet-helper was not found on the system.\n\n\t\tPlease install vmnet-helper using these instructions:\n\n\t\thttps://github.com/nirs/vmnet-helper#installation": "",
1051+
"vmnet-helper was not found on the system.\n\n\t\tPlease install vmnet-helper using these instructions:\n\n\t\t\tcurl -fsSL https://github.com/minikube-machine/vmnet-helper/releases/latest/download/install.sh | bash": "",
10511052
"yaml encoding failure": "",
10521053
"zsh completion failed": "",
10531054
"zsh completion.": "",

translations/es.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
"Configure an external network switch following the official documentation, then add `--hyperv-virtual-switch=\u003cswitch-name\u003e` to `minikube start`": "Configura un switch de red externo siguiendo la documentación oficial, y luego añade `--hyperv-virtual-switch=\u003cswitch-name\u003e` a `minikube start`",
122122
"Configure environment to use minikube's Docker daemon": "Configura un entorno para usar el Docker daemon de minikube",
123123
"Configure environment to use minikube's Podman service": "Configura un entorno para usar el servicio Podman de minikube",
124-
"Configure vmnet-helper to run without a password.\n\n\t\tPlease install a vmnet-helper sudoers rule using these instructions:\n\n\t\thttps://github.com/nirs/vmnet-helper#granting-permission-to-run-vmnet-helper": "",
124+
"Configure vmnet-helper to run without a password.\n\n\t\tPlease install a vmnet-helper sudoers rule using these instructions:\n\t\t\tcurl -fsSL https://github.com/minikube-machine/vmnet-helper/releases/latest/download/install.sh | bash": "",
125125
"Configures the addon w/ADDON_NAME within minikube (example: minikube addons configure registry-creds). For a list of available addons use: minikube addons list": "Configura los complementos dentro de minikube con ADDON_NAME (Por ejemplo: minikube addons configure registry-creds). Para ver los complementos disponibles usa: minikube addons list",
126126
"Configuring RBAC rules ...": "Configurando reglas RBAC...",
127127
"Configuring local host environment ...": "Configuranto entorno del host local ...",
@@ -1116,7 +1116,7 @@
11161116
"usage: minikube profile [MINIKUBE_PROFILE_NAME]": "",
11171117
"version json failure": "",
11181118
"version yaml failure": "",
1119-
"vmnet-helper was not found on the system.\n\n\t\tPlease install vmnet-helper using these instructions:\n\n\t\thttps://github.com/nirs/vmnet-helper#installation": "",
1119+
"vmnet-helper was not found on the system.\n\n\t\tPlease install vmnet-helper using these instructions:\n\n\t\t\tcurl -fsSL https://github.com/minikube-machine/vmnet-helper/releases/latest/download/install.sh | bash": "",
11201120
"yaml encoding failure": "",
11211121
"zsh completion failed": "Falló el autocompletado de zsh",
11221122
"zsh completion.": "autocompletado zsh",

translations/fr.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,7 @@
125125
"Configure an external network switch following the official documentation, then add `--hyperv-virtual-switch=\u003cswitch-name\u003e` to `minikube start`": "Configurez un commutateur réseau externe en suivant la documentation officielle, puis ajoutez `--hyperv-virtual-switch=\u003cswitch-name\u003e` à `minikube start`",
126126
"Configure environment to use minikube's Docker daemon": "Configurer l'environnement pour utiliser le démon Docker de minikube",
127127
"Configure environment to use minikube's Podman service": "Configurer l'environnement pour utiliser le service Podman de minikube",
128+
"Configure vmnet-helper to run without a password.\n\n\t\tPlease install a vmnet-helper sudoers rule using these instructions:\n\t\t\tcurl -fsSL https://github.com/minikube-machine/vmnet-helper/releases/latest/download/install.sh | bash": "",
128129
"Configure vmnet-helper to run without a password.\n\n\t\tPlease install a vmnet-helper sudoers rule using these instructions:\n\n\t\thttps://github.com/nirs/vmnet-helper#granting-permission-to-run-vmnet-helper": "Configurez vmnet-helper pour qu'il s'exécute sans mot de passe.\n\n\t\tVeuillez installer une règle sudoers vmnet-helper en suivant ces instructions :\n\n\t\thttps://github.com/nirs/vmnet-helper#granting-permission-to-run-vmnet-helper",
129130
"Configures the addon w/ADDON_NAME within minikube (example: minikube addons configure registry-creds). For a list of available addons use: minikube addons list": "Configure le module w/ADDON_NAME dans minikube (exemple : minikube addons configure registry-creds). Pour une liste des modules disponibles, utilisez : minikube addons list",
130131
"Configuring RBAC rules ...": "Configuration des règles RBAC ...",
@@ -1163,6 +1164,7 @@
11631164
"version json failure": "échec de la version du JSON",
11641165
"version yaml failure": "échec de la version du YAML",
11651166
"vmnet-helper was not found on the system, resolve by:\n\n\t\tOption 1) Installing vmnet-helper:\n\n\t\t https://github.com/nirs/vmnet-helper#installation\n\n\t\tOption 2) Using the nat network:\n\n\t\t minikube start{{.profile}} --driver vfkit --network nat": "vmnet-helper n'a pas été trouvé sur le système, résolvez le problème par :\n\n\t\tOption 1) Installation de vmnet-helper :\n\n\t\t https://github.com/nirs/vmnet-helper#installation\n\n\t\tOption 2) Utilisation du réseau NAT :\n\n\t\t minikube start{{.profile}} --driver vfkit --network nat",
1167+
"vmnet-helper was not found on the system.\n\n\t\tPlease install vmnet-helper using these instructions:\n\n\t\t\tcurl -fsSL https://github.com/minikube-machine/vmnet-helper/releases/latest/download/install.sh | bash": "",
11661168
"vmnet-helper was not found on the system.\n\n\t\tPlease install vmnet-helper using these instructions:\n\n\t\thttps://github.com/nirs/vmnet-helper#installation": "vmnet-helper est introuvable sur le système.\n\n\t\tVeuillez installer vmnet-helper en suivant ces instructions :\n\n\t\thttps://github.com/nirs/vmnet-helper#installation",
11671169
"yaml encoding failure": "échec de l'encodage yaml",
11681170
"zsh completion failed": "complétion de zsh en échec",

translations/id.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@
111111
"Configure a default route on this Linux host, or use another --driver that does not require it": "Konfigurasikan rute default pada host Linux ini, atau gunakan --driver lain yang tidak memerlukannya",
112112
"Configure an external network switch following the official documentation, then add `--hyperv-virtual-switch=\u003cswitch-name\u003e` to `minikube start`": "Konfigurasikan external network switch dengan mengikuti dokumentasi resmi, lalu tambahkan argumen `--hyperv-virtual-switch=\u003cswitch-name\u003e` ke `minikube start`",
113113
"Configure environment to use minikube's Podman service": "Konfigurasikan environment untuk menggunakan layanan Podman minikube",
114-
"Configure vmnet-helper to run without a password.\n\n\t\tPlease install a vmnet-helper sudoers rule using these instructions:\n\n\t\thttps://github.com/nirs/vmnet-helper#granting-permission-to-run-vmnet-helper": "",
114+
"Configure vmnet-helper to run without a password.\n\n\t\tPlease install a vmnet-helper sudoers rule using these instructions:\n\t\t\tcurl -fsSL https://github.com/minikube-machine/vmnet-helper/releases/latest/download/install.sh | bash": "",
115115
"Configures the addon w/ADDON_NAME within minikube (example: minikube addons configure registry-creds). For a list of available addons use: minikube addons list": "Mengonfigurasi add-on dengan ADDON_NAME dalam minikube (contoh: minikube addons configure registry-creds). Untuk daftar add-on yang tersedia, gunakan: minikube addons list",
116116
"Configuring RBAC rules ...": "Konfigurasi aturan RBAC...",
117117
"Configuring local host environment ...": "Mengonfigurasi environment host lokal ...",
@@ -1053,7 +1053,7 @@
10531053
"usage: minikube profile [MINIKUBE_PROFILE_NAME]": "Penggunaan: minikube profile [MINIKUBE_PROFILE_NAME]",
10541054
"version json failure": "Gagal mendapatkan versi dalam format JSON",
10551055
"version yaml failure": "Gagal mendapatkan versi dalam format YAML",
1056-
"vmnet-helper was not found on the system.\n\n\t\tPlease install vmnet-helper using these instructions:\n\n\t\thttps://github.com/nirs/vmnet-helper#installation": "",
1056+
"vmnet-helper was not found on the system.\n\n\t\tPlease install vmnet-helper using these instructions:\n\n\t\t\tcurl -fsSL https://github.com/minikube-machine/vmnet-helper/releases/latest/download/install.sh | bash": "",
10571057
"yaml encoding failure": "Gagal melakukan encoding YAML",
10581058
"zsh completion failed": "zsh completion gagal",
10591059
"zsh completion.": "zsh completio",

0 commit comments

Comments
 (0)