Open tarikhamilton opened 7 years ago
You have to modify vvv-custom.yml
, I'd recommend creating sites entirely via vvv-custom.yml
instead of vv
using the custom site template
https://github.com/Varying-Vagrant-Vagrants/custom-site-template/
e.g. putting this under the sites section of the config will create http://my-site.test
in the www/my-site
folder
my-site:
repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template
hosts:
- my-site.test
system info MacOS Sierra 10.12.5
version 1.12
debug output /usr/local/bin/vv: line 1481: version: command not found
vv: /usr/local/bin/vv
vv_config: /Users/tarik/.vv-config vvv path: /Users/tarik/dev/VVV/ home: /Users/tarik
tput: cat: /bin/cat curl: /usr/bin/curl brew: /usr/local/bin/brew tar: /usr/bin/tar find: /usr/bin/find git: /usr/bin/git sed: /usr/bin/sed paste: /usr/bin/paste vagrant: /usr/local/bin/vagrant
The issue: I just did a new
vv create
today and all my vv sites stopped working. When Ivagrant up
, I see that only the defaults get added to the host file. So, all my previous vv sites are no longer added.I didn't know how VVV worked in regards to updating the hosts file, but I guess it updates
vvv-config.yml
(or in the code it seems to make a copy called vvv-custom.yml). I don't see avvv-custom.yml
file and myvvv-config.yml
just has the defaults.I got around the issue by manually updating the
vvv-config.yml
, but something seemed to happen. After that I updated VVV and VV, the issue still persists, so something has changed?Side note, I was one of the users who had to
vagrant ssh
and run thevvv-init.sh
script because for whatever reason it would not work outside the VM.