marianleica / azrez

Azure Resource Launcher (azrez) is a console application, created by @marianleica, that aims to support those looking for quick deployments in Azure VMs and Kubernetes for learning and swift repros.
https://github.com/marianleica/azrez
MIT License
1 stars 0 forks source link

Ubuntu VM PowerShell error for VM password #7

Closed marianleica closed 9 hours ago

marianleica commented 2 days ago

Running the 2-1 ubuntu VM hits a powershell command error:

image

marianleica commented 9 hours ago

The error is given because the command CovertTo-SecureString is part of a PowerShell security module that's not installed by default. Commented the respective lines and adjusted the script to take the user password as plain text and we'll consider improving the code credentials security on a future release.