cloud_init.yaml insecure example
This commit is contained in:
18
example/cloud_init.yaml
Normal file
18
example/cloud_init.yaml
Normal file
@@ -0,0 +1,18 @@
|
|||||||
|
#cloud-config
|
||||||
|
# vim: syntax=yaml
|
||||||
|
# examples:
|
||||||
|
# https://cloudinit.readthedocs.io/en/latest/topics/examples.html
|
||||||
|
---
|
||||||
|
ssh_pwauth: true
|
||||||
|
disable_root: false
|
||||||
|
chpasswd:
|
||||||
|
list: |
|
||||||
|
root:password
|
||||||
|
expire: false
|
||||||
|
users:
|
||||||
|
- name: ubuntu
|
||||||
|
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||||
|
groups: users, admin
|
||||||
|
home: /home/ubuntu
|
||||||
|
shell: /bin/bash
|
||||||
|
lock_passwd: false
|
Reference in New Issue
Block a user