Another tweak to chef to get it to work with new system
This commit is contained in:
parent
345ee35e16
commit
7ab6ab31f8
|
@ -35,7 +35,7 @@ module Vagrant
|
|||
def chown_provisioning_folder
|
||||
env[:vm].ssh.execute do |ssh|
|
||||
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
|
||||
|
||||
|
|
Loading…
Reference in New Issue