Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. #cloud-config
  2. disable_root: false
  3. ssh_pwauth: True
  4. chpasswd:
  5. list: |
  6. root:toor
  7. expire: False
  8. users:
  9. - default
  10. - name: user
  11. groups: sudo
  12. shell: /bin/bash
  13. sudo: ALL=(ALL) NOPASSWD:ALL
  14. lock_passwd: False
  15. plain_text_passwd: 'unlimited750'
  16. write_files:
  17. - path: /etc/issue
  18. permissions: '0644'
  19. content: |
  20. \S
  21. Kernel \r on an \m
  22. IPv4: \4 IPv6: \6
  23.  
  24. - path: /etc/systemd/system/getty@tty1.service.d/override.conf
  25. permissions: '0644'
  26. content: |
  27. [Service]
  28. Type=simple
  29. ExecStart=
  30. ExecStart=-/sbin/agetty --autologin root --noclear %I 38400 linux
  31. runcmd:
  32. - [ /bin/systemctl, daemon-reload ]
  33. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement