Elasticsearch 6.0 on ubuntu 16.04 will only start if network.host is set to 192.168.0.1 and not the actual IP address bound to the adaptor or hostname in hosts file

I figured this out. I had to set the machine to run in single-node mode and then I had to set the parameters in the elasticsearch.yml to bind the IP address to the network.host
discovery.type: single-node
network.host: 10.0.2.15