3 def prepare vm
, tmp_root
4 `mkdir -p #{tmp_root}/git`
5 `cp ~/.gitconfig #{tmp_root}/git/`
6 vm
.synced_folder("#{tmp_root}/git/", "#{tmp_root}/git", :id => "git")
9 def provision channel
, user_home
, tmp_root
10 puts
"Copying your gitconfig"
11 channel
.execute("cp #{tmp_root}/git/.gitconfig #{user_home}")