Unknown configuration section 'hostmanager'.
dbstraffin opened this issue ยท 9 comments
Using vagrant 2.1.3 and vagrant-hostmanager 1.8.8 and 1.8.9, I get the following error:
There are errors in the configuration of this machine. Please fix
the following errors and try again:
Vagrant:
* Unknown configuration section 'hostmanager'.
I tried vagrant plugin update
, vagrant plugin repair
and vagrant plugin expunge
, none of which fixed the issue.
Downgrading to vagrant 2.1.2 fixed the issue and people are having issues with other plugins, so it might actually be a problem with vagrant 2.1.3.
hashicorp/vagrant#10150
hashicorp/vagrant#10161
Hi there,
This was a Vagrant issue and was fixed via hashicorp/vagrant#10155
Looks like Vagrant 2.1.4 fixes this issue for me.
I'm seeing the same error in Vagrant 2.2.5
I'm seeing the same error in Vagrant 2.2.5
try to run
# vagrant plugin install vagrant-hostmanager
Error message:
$ Vagrant up
bash: vagrant: command not found
or Error message:
Vagrant:
- Unknown configuration section 'hostmanager'.
Solutions:
Step one:
On your host machine you need to install VirtualBox and the VirtualBox is a hypervisor that helps you to build Virtual Machine.
Step two:
If you have Hyper-V hypervisor in your PC, first, you disable it.
Right-click > Windows Power Shell > Run as administrator > Copy the Below command
Disable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V-All
*execute the code with power shell and Your Hyper-V will disable
Step three:
Download the Vagrant installer and install it on your windows machine.
Step Four:
Now you can execute your โvagrant upโ Command using Git Bash. Just type the following command to verify Vagrant.
$ vagrant --version
$ git --version
Step Five:
Need to install the Vagrant plugin. Execute the below command by Git Bash
$ vagrant plugin install vagrant-hostmanager
And finally, execute this one.
`$ vagrant up`
vagrant-hostmanager is a Vagrant plugin that manages the host's file on guest machines (and optionally the host). Its goal is to enable the resolution of multi-machine environments deployed with a cloud provider where IP addresses are not known in advance.
$ vagrant plugin install vagrant-hostmanager
This Work for me!!!!
To update the host's file on each active machine, run the following command:
$ vagrant hostmanager
vagrant plugin install vagrant-hostmanager
Thank you! worked for me.
Need to install the Vagrant plugin. Execute the below command by Git Bash
$ vagrant plugin install vagrant-hostmanager
$ vagrant reload
$ vagrant up
$ vagrant plugin install vagrant-hostmanager
worked for me. Thanks so much.