ssh public key now defined as variable. User can define it under the main deployment file
This commit is contained in:
10
multiple/shared_modules/cloud_init.yaml
Normal file
10
multiple/shared_modules/cloud_init.yaml
Normal file
@@ -0,0 +1,10 @@
|
||||
#cloud-config
|
||||
disable_root: true
|
||||
users:
|
||||
- name: groot
|
||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||
groups: wheel,sudo,adm
|
||||
shell: /bin/bash
|
||||
ssh_authorized_keys:
|
||||
- ${ssh_key}
|
||||
ssh_pwauth: false
|
Reference in New Issue
Block a user