John S
2018-11-27 21:28:20 UTC
I changed from forwarded port to a private network, then ran vagrant reload
but my browser keeps redirecting back to localhost and failing
I can't seem to find anything on why this is happening and hoping someone
has had this issue
My vagrant file is below. I had started with forwarded ports but have since
removed this and used private_network
Vagrant.configure("2") do |config|
config.vm.box = "bento/centos-7.4"
config.vm.network "private_network", type: "dhcp"
config.vm.synced_folder "./website", "/var/www/html/", :mount_options =>
["dmode=777", "fmode=777"], owner: "apache", group: "apache"
#config.vm.hostname = "burstonsitesdev.com"
## Bootstrap script to provision box. All installation methods can go
here.
config.vm.provision "shell" do |s|
s.path = "bootstrap.sh"
end
end
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/89c34249-05fc-49c2-a302-6c8554987807%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
but my browser keeps redirecting back to localhost and failing
I can't seem to find anything on why this is happening and hoping someone
has had this issue
My vagrant file is below. I had started with forwarded ports but have since
removed this and used private_network
Vagrant.configure("2") do |config|
config.vm.box = "bento/centos-7.4"
config.vm.network "private_network", type: "dhcp"
config.vm.synced_folder "./website", "/var/www/html/", :mount_options =>
["dmode=777", "fmode=777"], owner: "apache", group: "apache"
#config.vm.hostname = "burstonsitesdev.com"
## Bootstrap script to provision box. All installation methods can go
here.
config.vm.provision "shell" do |s|
s.path = "bootstrap.sh"
end
end
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+***@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/89c34249-05fc-49c2-a302-6c8554987807%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.