Closed alecristia closed 6 years ago
You mean you can't get access to /vagrant/data directory?
got it - there is /home/vagrant, and /vagrant -- and these are not the same.
data is in /vagrant, whereas e.g. anaconda is in /home/vagrant.
This is confusing, don't you think?
Yeah that's because data directory is in host machine not in VM, but copying data over to VM would not be ideal. One quick fix is to make symbolic link inside /home/vagrant like /home/vagrant/data linked to /vagrant/data directory.
Agree (never mind my slack response... stale message!) - the unfortunate side effect that the default username, and therefore home folder in Vagrant VMs is vagrant
and /home/vagrant
- but I would worry if we try and change (for clarity's sake) the naming of /vagrant
to anything else because SO MANY scripts rely on it now as the place where the VM accesses the shared host folder to get to data/
incorporated all arguments and ideas to a document in progress explaining the vm structure
I've made minor changes to the vagrantfile and re-built, but now vagrant no longer sees the data folder. I'm pretty sure I didn't change anything in the vagrantfile (which in any case makes no reference to data) -- so where did I go wrong? (If you want to see a list of changes: https://github.com/srvk/DiViMe/commit/64640be6e7904b5f15c1e8bb9e9e502575e1faf2#diff-23b6f443c01ea2efcb4f36eedfea9089)