We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I've this configuration, with hostmanager configured only for "virtualbox"
Vagrant.configure("2") do |config| config.vm.hostname = "foobar" config.ssh.forward_agent = true config.vm.provider "virtualbox" do |v, override| override.vm.box = "debian-wheezy64" override.vm.box_url = "...." override.hostmanager.enabled = true override.hostmanager.manage_host = true override.hostmanager.ignore_private_ip = false override.hostmanager.include_offline = true override.hostmanager.aliases = ["foobar.example.com", "example.com"] override.cache.auto_detect = true override.vm.network :private_network, ip: "192.168.33.10" end config.vm.provider :lxc do |v, override| override.vm.box = "fgrehm/wheezy64-lxc" override.vm.box_url = "https://vagrantcloud.com/fgrehm/wheezy64-lxc" end config.vm.provider :lxc do |lxc| lxc.customize "network.type", "veth" lxc.customize "network.link", "lxcbr0" lxc.customize "network.hwaddr", "22:90:e8:45:3c:34" end end
If I launch "vagrant up" on this configuration, I've no hostname configured in /etc/hosts
But it's work with this configuration :
Vagrant.configure("2") do |config| config.vm.hostname = "foobar" config.ssh.forward_agent = true config.hostmanager.enabled = true config.hostmanager.manage_host = true config.hostmanager.ignore_private_ip = false config.hostmanager.include_offline = true config.hostmanager.aliases = ["foobar.example.com", "example.com"] config.vm.provider "virtualbox" do |v, override| override.vm.box = "debian-wheezy64" override.vm.box_url = "...." override.cache.auto_detect = true override.vm.network :private_network, ip: "192.168.33.10" end config.vm.provider :lxc do |v, override| override.vm.box = "fgrehm/wheezy64-lxc" override.vm.box_url = "https://vagrantcloud.com/fgrehm/wheezy64-lxc" end config.vm.provider :lxc do |lxc| lxc.customize "network.type", "veth" lxc.customize "network.link", "lxcbr0" lxc.customize "network.hwaddr", "22:90:e8:45:3c:34" end end
I think that vagrant-hostmanager don't support override feature ?
Best regards, Stephane
The text was updated successfully, but these errors were encountered:
I have this same issue. I've tried using override and also just defining it in the individual machine.
Sorry, something went wrong.
No branches or pull requests
I've this configuration, with hostmanager configured only for "virtualbox"
If I launch "vagrant up" on this configuration, I've no hostname configured in /etc/hosts
But it's work with this configuration :
I think that vagrant-hostmanager don't support override feature ?
Best regards,
Stephane
The text was updated successfully, but these errors were encountered: