Merge pull request #1982 from michaelglass/patch-1
fix regression chowning chef provisioning directory
This commit is contained in:
commit
1086c81203
|
@ -42,7 +42,7 @@ module VagrantPlugins
|
||||||
def chown_provisioning_folder
|
def chown_provisioning_folder
|
||||||
@machine.communicate.tap do |comm|
|
@machine.communicate.tap do |comm|
|
||||||
comm.sudo("mkdir -p #{@config.provisioning_path}")
|
comm.sudo("mkdir -p #{@config.provisioning_path}")
|
||||||
comm.sudo("chown -R #{@machine.ssh_info[:username]} #{@config.provisioning_path}")
|
comm.sudo("chown #{@machine.ssh_info[:username]} #{@config.provisioning_path}")
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue