Several fixes by Gemma, unverified
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
#cloud-config
|
||||
users:
|
||||
- name: {{ vm_user }}
|
||||
passwd: {{ vm_password | password_hash('sha512') }}
|
||||
ssh_authorized_keys:
|
||||
- {{ lookup('file', vm_ssh_public_key | replace('~', lookup('env', 'HOME'))) }}
|
||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||
write_files:
|
||||
- path: /etc/ssh/sshd_config.d/permit_root_login.conf
|
||||
content: |
|
||||
PermitRootLogin yes
|
||||
Reference in New Issue
Block a user