fix(cloud-init): add root user
This commit is contained in:
parent
27d94f4313
commit
7a1d11bea2
4 changed files with 9 additions and 14 deletions
|
|
@ -1,11 +1,13 @@
|
|||
#cloud-config
|
||||
hostname: jpplandhost
|
||||
hostname: sandboxvm
|
||||
disable_root: false
|
||||
groups:
|
||||
- jppland
|
||||
- sandbox
|
||||
users:
|
||||
- default
|
||||
- calyjohn
|
||||
- name: mbess
|
||||
- name: root
|
||||
ssh_authorized_keys:
|
||||
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBeNeE0gk6mO0Bz9dDvKQrhA2Oo7x05FicCQJivxqIyi sandbox"
|
||||
- name: demo
|
||||
passwd: "$6$QQuYYEMEG0bJf7iH$mhFeXl10jSQhFO8ltMAi3CtoGLOz5tPdnEBTcp.4JzS5mnBbpANvm9s.VQFMvWq8nfzgzdDZMGr1hnZLGVd2V." #root
|
||||
sudo: ALL=(ALL) NOPASSWD:ALL
|
||||
groups: sudo
|
||||
|
|
@ -13,10 +15,3 @@ users:
|
|||
lock_passwd: false
|
||||
ssh_authorized_keys:
|
||||
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIBeNeE0gk6mO0Bz9dDvKQrhA2Oo7x05FicCQJivxqIyi sandbox"
|
||||
|
||||
write_files:
|
||||
- encoding: gzip
|
||||
content: !!binary |
|
||||
H4sIAIDb/U8C/1NW1E/KzNMvzuBKTc7IV8hIzcnJVyjPL8pJ4QIA6N+MVxsAAAA=
|
||||
path: /usr/bin/hello
|
||||
permissions: '0755'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue