From 718987cb88e144ffcd5537c9540f736c0ef48bb2 Mon Sep 17 00:00:00 2001 From: jackyalbo Date: Wed, 26 Apr 2017 20:17:50 +0300 Subject: [PATCH] miniature fix for running ssh on windows --- lib/pkgcloud/azure-v2/compute/client/servers.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pkgcloud/azure-v2/compute/client/servers.js b/lib/pkgcloud/azure-v2/compute/client/servers.js index 4c9afc24a..49478aaad 100644 --- a/lib/pkgcloud/azure-v2/compute/client/servers.js +++ b/lib/pkgcloud/azure-v2/compute/client/servers.js @@ -200,7 +200,7 @@ function createServer(options, callback) { 'typeHandlerVersion': '1.8', 'settings': { 'fileUris': ["https://raw.githubusercontent.com/CatalystCode/pkgcloud/master/lib/pkgcloud/azure-v2/scripts/ssh.ps1"], - 'commandToExecute': `powershell -File ssh.ps1 ${options.username} ${options.password}` + 'commandToExecute': `powershell -File ssh.ps1 .\\${options.username} ${options.password}` }, } }];