Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #cloud-config
- disable_root: false
- ssh_pwauth: True
- chpasswd:
- list: |
- root:toor
- expire: False
- users:
- - default
- - name: user
- groups: sudo
- shell: /bin/bash
- sudo: ALL=(ALL) NOPASSWD:ALL
- lock_passwd: False
- plain_text_passwd: 'unlimited750'
- write_files:
- - path: /etc/issue
- permissions: '0644'
- content: |
- \S
- Kernel \r on an \m
- IPv4: \4 IPv6: \6
- - path: /etc/systemd/system/getty@tty1.service.d/override.conf
- permissions: '0644'
- content: |
- [Service]
- Type=simple
- ExecStart=
- ExecStart=-/sbin/agetty --autologin root --noclear %I 38400 linux
- runcmd:
- - [ /bin/systemctl, daemon-reload ]
- ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement