Merge pull request #2253 from PeteMichaud/backtick
guests/linux: fixed missing backtick in mount
This commit is contained in:
commit
cc5ca1a3c3
|
@ -52,7 +52,7 @@ module VagrantPlugins
|
|||
chown_commands = []
|
||||
chown_commands << "chown `id -u #{options[:owner]}`:`getent group #{options[:group]} " +
|
||||
"| cut -d: -f3` #{expanded_guest_path}"
|
||||
chown_commands << "chown `id -u #{options[:owner]}`:`id -g #{options[:group]} " +
|
||||
chown_commands << "chown `id -u #{options[:owner]}`:`id -g #{options[:group]}` " +
|
||||
"#{expanded_guest_path}"
|
||||
|
||||
exit_status = machine.communicate.sudo(chown_commands[0], error_check: false)
|
||||
|
|
Loading…
Reference in New Issue