Thanks!
On Sunday, February 2, 2014 8:16:30 PM UTC-2, Teemu Matilainen wrote:
>
> Hi,
>
> There is also (undocumented) file provisioner. For example:
>
> Vagrant.configure('2') do |config|
> # ...
>
> config.vm.provision :file do |file|
> file.source = '~/.gitconfig'
> file.destination = '/home/vagrant/.gitconfig'
> end
> end
>
>
> Note that the destination path is not expanded, so you can't use ~ or
> $HOME in it. But just two days ago I made a pull
> request<https://github.com/mitchellh/vagrant/pull/2922>to fix it. =)
>
> Cheers,
> - Teemu
>
>
>
> On Sun, Feb 2, 2014 at 6:19 PM, Mitchell Hashimoto
> <[email protected]<javascript:>
> > wrote:
>
>> Raphael,
>>
>> Not currently [easily]. In the next version of Vagrant (1.5), Vagrant has
>> an 'rsync' synced folder mechanism that can do this for you, however.
>>
>> best,
>> Mitchell
>>
>>
>> On Sun, Feb 2, 2014 at 10:15 PM, Raphael Cruzeiro <
>> [email protected] <javascript:>> wrote:
>>
>>> When I am setting up an environment, after vagrant has booted the VM and
>>> ran the *config.vm.provision* I usually have to *scp *my host ssh keys
>>> and .gitconfig to the VM. Is there anyway that I can automate these steps
>>> so that my newly booted VM is fully capable of using *git* without
>>> having to manually copy the keys and config?
>>>
>>> Thanks!
>>>
>>> --
>>> 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] <javascript:>.
>>> For more options, visit https://groups.google.com/groups/opt_out.
>>>
>>
>> --
>> 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] <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>
>
--
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/groups/opt_out.