Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ignore_private_ip = false still uses public ip on AWS #273

Open
utdrmac opened this issue Sep 4, 2019 · 0 comments
Open

ignore_private_ip = false still uses public ip on AWS #273

utdrmac opened this issue Sep 4, 2019 · 0 comments

Comments

@utdrmac
Copy link

utdrmac commented Sep 4, 2019

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant