If location is relative consider it under machine's root directory
dimara opened this issue · 1 comments
dimara commented
Commit 7f9e174 tried to fix issue #5 but did not take into account that vagrant commands can be called outside root directory using the machine id. In such a case upon vagrant destroy the "persistent" storage gets deleted since it never gets detached.
The above could be fixed if non-absolute paths are considered relative to the machine's root directory, which is reasonable enough. The root directory can be found via @global_env.root_path
inside actions or via machine.env.root_path
inside config.rb
.