Skip to content

Instantly share code, notes, and snippets.

@marrobi
Created February 2, 2017 15:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marrobi/09cf3841c565ff29263ebfd90370cd80 to your computer and use it in GitHub Desktop.
Save marrobi/09cf3841c565ff29263ebfd90370cd80 to your computer and use it in GitHub Desktop.
Linux VM OS Profile
"osProfile": {
"computerName": "[variables('ComputerName')]",
"adminUsername": "[variables('AdminUsername')]",
"linuxConfiguration": {
"disablePasswordAuthentication": true,
"ssh": {
"publicKeys": [
{
"path": "[concat('/home/',variables('AdminUsername'),'/.ssh/authorized_keys')]",
"keyData": "[parameters('SSHPublicKey')]"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment