33 lines
629 B
Plaintext
33 lines
629 B
Plaintext
|
#cloud-config
|
||
|
autoinstall:
|
||
|
version: 1
|
||
|
locale: en_NZ
|
||
|
keyboard:
|
||
|
layout: en
|
||
|
ssh:
|
||
|
install-server: true
|
||
|
allow-pw: false
|
||
|
disable_root: true
|
||
|
ssh_quiet_keygen: true
|
||
|
allow_public_ssh_keys: true
|
||
|
packages:
|
||
|
- qemu-guest-agent
|
||
|
- sudo
|
||
|
storage:
|
||
|
layout:
|
||
|
name: direct
|
||
|
swap:
|
||
|
size: 0
|
||
|
user-data:
|
||
|
package_upgrade: true
|
||
|
timezone: Pacific/Auckland
|
||
|
users:
|
||
|
- name: ladmin
|
||
|
groups: [adm, sudo]
|
||
|
lock-passwd: false
|
||
|
sudo: ALL=(ALL) NOPASSWD:ALL
|
||
|
shell: /bin/bash
|
||
|
passwd: "qx9efm7k"
|
||
|
ssh_authorized_keys:
|
||
|
- your-ssh-key
|