dcosson / vagrant-unison2

Vagrant plugin to sync local files to VM using Unison over SSH
MIT License
50 stars 8 forks source link

Any option to run vagrant unison commands on a single machine in multi-machine setups? #38

Open benburleson opened 6 years ago

benburleson commented 6 years ago

Hi All,

I see this isn't really actively maintained anymore, but wondering if anybody has run into this. I have multiple vagrant guests and when I run vagrant unison-cleanup it tries to execute on guests that don't even have any unison configs, and it fails.

I tried running vagrant unison-cleanup web (web is the name of the single machine I want to sync/cleanup), but it seems to ignore that and tries other machines as well (and fails).

If I disable the other machines in my Vagrantfile and run vagrant unison-cleanup it works as expected on the web guest, but I can't figure out how to have the other guests enabled but ignored for unison commands.

Thanks, Ben