Hi!

I'm having some issues with trying to get the vagrant rsync plugin working 
with a vanilla Centos server, using the vagrant-rackspace plugin.

Default Red Hat flavour servers have requiretty on by default. In Vagrant 
1.4 they're was a new `config.ssh.pty = true` option, so ssh commands with 
sudo will work. However, rsync still has issues:

https://gist.github.com/petems/b8e4060bf3f0bc84b1f1

This means that if you're using an rsync folder sync you're basically out 
of luck unless you sudovi and remove that line. But you cant make a 
provision script that does that, because the folder sync will always be the 
first thing that happens.

So my main vagrant related question for this is: 

Is there a way to make a provision take priority over a synced folder? So I 
can do something hacky in a provision script to sed the requiretty line out 
first. I've found no matter the order, the folder sync always happens first.

Or should I just make a new image with the requiretty removed and use that 
as a base image to make servers from?

Thanks!

Regards

-- 
You received this message because you are subscribed to the Google Groups 
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to