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}` }, } }];