Closed brettlangdon closed 10 years ago
nevermind, I think I found a work around for it:
devbox.trigger.after [:up, :resume, :reload] do
info "Restarting apache on vm"
@machine.communicate.sudo("service apache2 restart")
end
Thanks for reporting the issue. I must improve run_remote
for avoiding issues like this and for working with multiple communicators. That's something I already had in mind.
Tagged as enhancement.
:+1:
Running into an issue where
run_remote
will not work because of a lock issue with vagrant and the vm. I read that this was resolved in/after1.6.2
, but it looks like it is still happening to me. Just wondering if you have seen this since or what the work around if for it?Vagrant version:
Vagrantfile:
Output: