Adding user control, disabling root
This commit is contained in:
parent
a8a1316967
commit
bf6422a69e
1 changed files with 9 additions and 0 deletions
|
@ -1,5 +1,14 @@
|
||||||
#cloud-config
|
#cloud-config
|
||||||
# vim: syntax=yaml
|
# vim: syntax=yaml
|
||||||
|
|
||||||
|
users:
|
||||||
|
- name: ${TARGET_USERNAME}
|
||||||
|
- sudo: ALL=ALL
|
||||||
|
- lock_passwd: true
|
||||||
|
- ssh_authorized_keys:
|
||||||
|
- ${SSH_PUB_KEY}
|
||||||
|
disable_root: true
|
||||||
|
|
||||||
packages:
|
packages:
|
||||||
- ufw
|
- ufw
|
||||||
- nginx
|
- nginx
|
||||||
|
|
Loading…
Reference in a new issue