docs(install/jarvis/vagrant): update hosts and add notes

- add tekton.jarvis.local to /etc/hosts

- add info about Windows hosts file

- add note about multiple nameservers

Since systemd-resolved is being used, we can leverage that configuration
to support multiple nameservers by simply passing in a space separated
value [1].

1 - https://www.freedesktop.org/software/systemd/man/resolved.conf.html#DNS=

Change-Id: I252da348c8e31d6c322ac0acac4bc500a8f741a8
This commit is contained in:
Dustin Specker 2021-02-18 08:27:01 -06:00
parent beefa8dd30
commit c3f2887afb
2 changed files with 4 additions and 3 deletions

View File

@ -7,7 +7,8 @@ Environment Variables
On the host machine, ensure the following environment variables are set with the appropriate proxy information:
``HTTP_PROXY``, ``HTTPS_PROXY``, and ``NO_PROXY``. You will also need to set the environment variable ``PRIVATE_NS``
to an IP address of a corporate name server that will resolve internal URLs.
to an IP address of a corporate name server that will resolve internal URLs. ``PRIVATE_NS`` can support multiple
corporate name servers by creating a space separated list, such as ``PRIVATE_NS="172.18.0.17 172.19.0.17"``.
Vagrant Plugin
==============

View File

@ -59,11 +59,11 @@ Host Setup
==========
To access the exposed Jarvis services in the Vagrant box, update the
``/etc/hosts`` file with:
``/etc/hosts`` (``C:\Windows\System32\drivers\etc\hosts`` on Windows) file with:
.. code::
192.168.56.10 gerrit.jarvis.local harbor-core.jarvis.local harbor-notary.jarvis.local loki.jarvis.local grafana.jarvis.local
192.168.56.10 gerrit.jarvis.local harbor-core.jarvis.local harbor-notary.jarvis.local loki.jarvis.local grafana.jarvis.local tekton.jarvis.local
.. note:: Replace ``jarvis.local`` with the appropriate host and domain name if
those are overwritten.