ignore_private_ip = false still uses public ip on AWS
utdrmac opened this issue · 0 comments
utdrmac commented
Using plugin with AWS provider. Defined a VM as follows:
config.vm.define "pmm", primary: true do |pmm|
pmm.vm.hostname = "pmm"
pmm.hostmanager.enabled = true
pmm.hostmanager.manage_guest = true
pmm.hostmanager.ignore_private_ip = false
...
Run plugin:
$ vagrant hostmanager
[vagrant-hostmanager:guest] Updating hosts file on the virtual machine pmm...
Contents of /etc/hosts
[root@ip-10-11-59-64 ~]# cat /etc/hosts
127.0.0.1 localhost localhost.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
## vagrant-hostmanager-start
54.193.77.146 pmm
## vagrant-hostmanager-end
ignore_private_ip = false is set. So why isn't the VMs internal IP being used?