# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "bento/ubuntu-16.04"
config.vm.provision :shell, path: "scripts/bootstrap.sh"
config.vm.hostname = "mysite.dev"
config.vm.network "forwarded_port", guest: 80, host: 8080
## create a private network visible only to the host machine
#config.vm.network :private_network, ip: "127.0.0.1"
config.vm.network :private_network, ip: "192.168.99.130"
config.vm.synced_folder "./mysite", "/var/lib/mysite/mysite_cloud"
# Example of share an additional folder to the guest VM.
config.vm.provider :virtualbox do |vb|
vb.customize ["modifyvm", :id, "--memory", "4096", "--cpus", "4"]
end
end
config.vm.network "forwarded_port", guest: 80, host: 8080
config.vm.network "forwarded_port", guest: 443, host: 4443
AlvaroThis sharing session doesn't allow HTTPS requests. This may be resolved by simply removing the s from thehttps:// section of this url if you are comfortable with sending this request in plain text. If you are unable to do so, you should contact the creator of the sharing session and let them know you are not able to access the VM over SSL/TLS."
What am I doing wrong?
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/1850224b-a080-42a9-985f-f5855ab7b079%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.