fix: users on vm's
This commit is contained in:
@ -3,6 +3,10 @@ local-hostname: ${hostname}
|
|||||||
|
|
||||||
users:
|
users:
|
||||||
- name: testuser
|
- name: testuser
|
||||||
ssh-authorized-keys:
|
groups: sudo
|
||||||
- ${azure_ssh_public_key}
|
|
||||||
shell: /bin/bash
|
shell: /bin/bash
|
||||||
|
sudo: ["ALL=(ALL) NOPASSWD:ALL"]
|
||||||
|
ssh_authorized_keys:
|
||||||
|
- ${azure_ssh_public_key}
|
||||||
|
lock_passwd: true
|
||||||
|
passwd: ""
|
||||||
|
@ -18,7 +18,7 @@ write_files:
|
|||||||
content: |
|
content: |
|
||||||
Host azurevm
|
Host azurevm
|
||||||
HostName ${azure-vm-ip}
|
HostName ${azure-vm-ip}
|
||||||
User iac
|
User testuser
|
||||||
IdentityFile ~/.ssh/azure
|
IdentityFile ~/.ssh/azure
|
||||||
StrictHostKeyChecking no
|
StrictHostKeyChecking no
|
||||||
UserKnownHostsFile=/dev/null
|
UserKnownHostsFile=/dev/null
|
||||||
|
Reference in New Issue
Block a user