32 lines
556 B
Text
32 lines
556 B
Text
#cloud-config
|
|
|
|
instance_id: ${hostname}
|
|
local_hostname: ${hostname}
|
|
|
|
# ssh
|
|
disable_root: false
|
|
allow_public_ssh_keys: true
|
|
ssh_authorized_keys:
|
|
- ${file("ssh/renich.pub")}
|
|
|
|
users:
|
|
- name: root
|
|
lock_passwd: false
|
|
ssh_authorized_keys:
|
|
- ${file("ssh/renich.pub")}
|
|
- name: renich
|
|
lock_passwd: true
|
|
ssh_authorized_keys:
|
|
- ${file("ssh/renich.pub")}
|
|
|
|
chpasswd:
|
|
expire: False
|
|
users:
|
|
- name: root
|
|
password: "${root_password}"
|
|
type: text
|
|
|
|
growpart:
|
|
devices: ['/']
|
|
ignore_growroot_disabled: true
|
|
mode: auto
|