Another tweak to chef to get it to work with new system

This commit is contained in:
Mitchell Hashimoto 2011-12-14 23:37:47 -08:00
parent 345ee35e16
commit 7ab6ab31f8
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ module Vagrant
def chown_provisioning_folder def chown_provisioning_folder
env[:vm].ssh.execute do |ssh| env[:vm].ssh.execute do |ssh|
ssh.sudo!("mkdir -p #{config.provisioning_path}") ssh.sudo!("mkdir -p #{config.provisioning_path}")
ssh.sudo!("chown #{env.config.ssh.username} #{config.provisioning_path}") ssh.sudo!("chown #{env[:vm].config.ssh.username} #{config.provisioning_path}")
end end
end end