
Adding a SSH Key to Azure
In my previous post I wrote about launching a CentOS 7 Virtual Machine in Azure↗ using Terraform↗ . As you can see from my original configuration I was adding a password and my own user. This worked well, the machine launched and I could access it as expect and sudo to root. However, when it came to using Terraforms built-in provisioner I started to have problems as the commands I was running need root privileges, when I tried using sudo it would sit there waiting for the password to entered. ...