Setting the Local IP
By default, the local cluster’s IP addresses are bound to 127.0.0.1. If you want to use a specific machine’s IP address, you need to change two environment variables.
If you have already set up a cluster, you first need to stop the services and clear all current configuration information.
Stop the cluster.
From your preferred Unix shell, uninstall and clean the services.
genvid-bastion uninstall -c
Once any old configuration information is cleared, open a Windows command prompt.
Set
GENVID_DEFAULT_IP
to the visible IP of the machine.Set the
CONSUL_HTTP_ADDR
to the same IP.set GENVID_DEFAULT_IP=123.123.123.123 set CONSUL_HTTP_ADDR=123.123.123.123:8500
From your Unix shell, restart the cluster.
genvid-bastion install -umlb {mybastion}