Skip to content

Commit d4314af

Browse files
authored
NO-ISSUE: Move api hosts entry to its designated ip (#1767)
* Docs: Move api hosts entry to its designated ip * Docs: address pr question / comment
1 parent 657f2f5 commit d4314af

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -253,11 +253,13 @@ There are two ways to achieve this, by using `sshuttle` or `xinetd`.
253253

254254
1. On your local machine install `sshuttle`
255255

256-
2. Add entry to `/etc/hosts`
256+
2. Add the entries from `/etc/NetworkManager/dnsmasq.d/openshift-ostest.conf` to `/etc/hosts`
257257

258258
```
259-
192.168.111.4 console-openshift-console.apps.ostest.test.metalkube.org console openshift-authentication-openshift-authentication.apps.ostest.test.metalkube.org api.ostest.test.metalkube.org prometheus-k8s-openshift-monitoring.apps.ostest.test.metalkube.org alertmanager-main-openshift-monitoring.apps.ostest.test.metalkube.org kubevirt-web-ui.apps.ostest.test.metalkube.org oauth-openshift.apps.ostest.test.metalkube.org grafana-openshift-monitoring.apps.ostest.test.metalkube.org
260-
```
259+
# Example:
260+
192.168.111.4 console-openshift-console.apps.ostest.test.metalkube.org console openshift-authentication-openshift-authentication.apps.ostest.test.metalkube.org prometheus-k8s-openshift-monitoring.apps.ostest.test.metalkube.org alertmanager-main-openshift-monitoring.apps.ostest.test.metalkube.org kubevirt-web-ui.apps.ostest.test.metalkube.org oauth-openshift.apps.ostest.test.metalkube.org grafana-openshift-monitoring.apps.ostest.test.metalkube.org
261+
192.168.111.5 api.ostest.test.metalkube.org
262+
```
261263

262264
3. Run sshuttle on the local machine
263265

0 commit comments

Comments
 (0)