You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using docker, vagrant complains about sync folders changing when starting a container that has already been provisioned, I believe it stems from this line:
What happens is vagrant compares fresh to cached and Pathname.new leaves a little bit at the start (#Pathname: ) which makes the comparison fail. I think one way to fix it would be to wrap File.expand_path around Pathname.new, but not 100% sure.
Steps to replicate...
Create a vagrantfile that uses docker with ansible installed locally.
Create and start the container with vagrant up.
Stop the container with vagrant halt.
Start the container up again with vagrant up and the message appears...
==> test: Vagrant has noticed that the synced folder definitions have changed. ==> test: With Docker, these synced folder changes won't take effect until you ==> test: destroy the container and recreate it.
The text was updated successfully, but these errors were encountered:
When using docker, vagrant complains about sync folders changing when starting a container that has already been provisioned, I believe it stems from this line:
vagrant-ansible-local/lib/vagrant-ansible-local/provisioner.rb
Line 6 in 641c3ba
What happens is vagrant compares fresh to cached and Pathname.new leaves a little bit at the start (#Pathname: ) which makes the comparison fail. I think one way to fix it would be to wrap File.expand_path around Pathname.new, but not 100% sure.
Steps to replicate...
==> test: Vagrant has noticed that the synced folder definitions have changed.
==> test: With Docker, these synced folder changes won't take effect until you
==> test: destroy the container and recreate it.
The text was updated successfully, but these errors were encountered: