Include key path flag when calling script
This commit is contained in:
parent
16bcc1d874
commit
ae8e25aabc
|
@ -10,7 +10,7 @@ module VagrantPlugins
|
|||
def self.set_ssh_key_permissions(env, key_path)
|
||||
script_path = Host.scripts_path.join("set_ssh_key_permissions.ps1")
|
||||
result = Vagrant::Util::PowerShell.execute(
|
||||
script_path.to_s, key_path.to_s,
|
||||
script_path.to_s, "-KeyPath", key_path.to_s,
|
||||
module_path: Host.modules_path.to_s
|
||||
)
|
||||
if result.exit_code != 0
|
||||
|
|
Loading…
Reference in New Issue