I am trying to install chef-server 11 on Virtual Machine via vagrant(Vagrant version 1.0.6).
In Vagrantfile settings are as follows:
config.vm.box_url = "opscode-ubuntu-12.04.box"
config.vm.network :bridged
config.vm.forward_port 80, 8080
I am not able to access chef-server by secured localhost or secured localhost:8080(Redirects to https://vagrant.vm/).
It works fine when I set the networking to hostonly
But I am interested in bridged, as it needs to be accessed by any external networks.
Steps I am following:
- vagrant up
- vagrant ssh
- In side VM : dpkg -r chef (As chef 10 was already in opscode-ubuntu-12.04.box)
- then dpkg -i chef-server_11.0.6-1.ubuntu.12.04_amd64.deb
- sudo chef-server-ctl reconfigure
- sudo chef-server-ctl status : All good
- sudo chef-server-ctl test : All 70 examples green
Thanks