--
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/afe7aa62-0730-4add-8b37-305b72acd436%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to vagra...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/afe7aa62-0730-4add-8b37-305b72acd436%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alvaro
config.vm.box = "scotch/box"
config.vm.box_version = "3.0"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/e90db7b0-b5bb-48c1-a382-9881d6d5f0be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "scotch/box"
config.vm.box_version = "3.0"
config.vm.network "private_network", ip: "192.168.33.10"
config.vm.hostname = "scotchbox"
# config.vm.synced_folder ".", "/var/www", :mount_options => ["dmode=777", "fmode=666"]
# config.vm.synced_folder ".", "/var/www", nfs: true, :mount_options => ['nolock,vers=3,udp,noatime,actimeo=1']
# Optional NFS. Make sure to remove other synced_folder line too
config.vm.synced_folder ".", "/var/www", :nfs => { :mount_options => ["dmode=777","fmode=666"] }
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'scotch/box' version '3.5' is up to date...
==> default: Clearing any previously set forwarded ports...
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
default: Adapter 2: hostonly
==> default: Forwarding ports...
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: SSH address: 127.0.0.1:2222
default: SSH username: vagrant
default: SSH auth method: private key
default: Warning: Connection reset. Retrying...
==> default: Machine booted and ready!
==> default: Checking for guest additions in VM...
default: The guest additions on this VM do not match the installed version of
default: VirtualBox! In most cases this is fine, but in rare cases it can
default: prevent things such as shared folders from working properly. If you see
default: shared folder errors, please make sure the guest additions within the
default: virtual machine match the version of VirtualBox you have installed on
default: your host and reload your VM.
default:
default: Guest Additions Version: 5.1.21
default: VirtualBox Version: 5.2
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Mounting shared folders...
default: /var/www => F:/october-demo
==> default: Machine already provisioned. Run `vagrant provision` or use the `-- provision`
==> default: flag to force provisioning. Provisioners marked to run always will still run.
$ vagrant provision
==> default: Running provisioner: shell...
default: Running: inline script
default: Creating directory for site1.local...
default: Creating vhost config for site1.local...
default: cp:
default: cannot stat '/etc/apache2/sites-available/scotchbox.local.conf'
default: : No such file or directory
default: Updating vhost config for site1.local...
default: sed: can't read /etc/apache2/sites-available/site1.local.conf: No such file or directory
default: sed: can't read /etc/apache2/sites-available/site1.local.conf: No such file or directory
default: Enabling site1.local. Will probably tell you to restart Apache...
default: ERROR: Site site1.local does not exist!
default: So let's restart apache...To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/e90db7b0-b5bb-48c1-a382-9881d6d5f0be%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--Alvaro