10 lines
256 B
Django/Jinja
10 lines
256 B
Django/Jinja
#cloud-config
|
|
hostname: "archiso"
|
|
ssh_pwauth: true
|
|
users:
|
|
- name: "{{ user_name }}"
|
|
primary_group: "{{ user_name }}"
|
|
groups: users
|
|
sudo: ALL=(ALL) NOPASSWD:ALL
|
|
passwd: "{{ user_password | password_hash('sha512') }}"
|
|
lock_passwd: False |