68 lines
2.5 KiB
Plaintext
68 lines
2.5 KiB
Plaintext
|
#cloud-config
|
||
|
autoinstall:
|
||
|
apt:
|
||
|
geoip: true
|
||
|
preserve_sources_list: false
|
||
|
primary:
|
||
|
- arches: [amd64, i386]
|
||
|
uri: http://archive.ubuntu.com/ubuntu
|
||
|
- arches: [default]
|
||
|
uri: http://ports.ubuntu.com/ubuntu-ports
|
||
|
identity: {hostname: client, password: $1$oxSzFxh3$YL4WgVnYjJmrbHlFJ1oxQ1,
|
||
|
realname: admin, username: admin}
|
||
|
packages_update: true
|
||
|
packages_upgrade: true
|
||
|
packages:
|
||
|
- git
|
||
|
- make
|
||
|
- python3
|
||
|
- python3-pip
|
||
|
- qemu
|
||
|
- qemu-system
|
||
|
- rxvt-unicode
|
||
|
- i3
|
||
|
- xorg
|
||
|
- xterm
|
||
|
keyboard: {layout: us, toggle: null, variant: ''}
|
||
|
locale: en_US.UTF-8
|
||
|
users:
|
||
|
- name: ansible
|
||
|
gecos: Ansible User
|
||
|
groups: users,admin,wheel
|
||
|
sudo: ALL=(ALL) NOPASSWD:ALL
|
||
|
shell: /bin/bash
|
||
|
lock_passwd: true
|
||
|
ssh_authorized_keys:
|
||
|
- "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKtUmNykJt6STpGnAVtCl/EkIou5P02Q4T5o+PVn/gK6"
|
||
|
|
||
|
# network:
|
||
|
# ethernets:
|
||
|
# eno49: {dhcp4: true}
|
||
|
# eno50: {critical: true, dhcp-identifier: mac, dhcp4: true}
|
||
|
# version: 2
|
||
|
ssh: {allow-pw: true, authorized-keys: ['ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKtUmNykJt6STpGnAVtCl/EkIou5P02Q4T5o+PVn/gK6'], install-server: true}
|
||
|
# storage:
|
||
|
# config:
|
||
|
# - {ptable: gpt, serial: 3600508b1001c576619b6670156e25877, wwn: '0x600508b1001c576619b6670156e25877',
|
||
|
# path: /dev/sda, wipe: superblock, preserve: false, name: '', grub_device: true,
|
||
|
# type: disk, id: disk-sda}
|
||
|
# - {device: disk-sda, size: 1048576, flag: bios_grub, number: 1, preserve: false,
|
||
|
# grub_device: false, type: partition, id: partition-0}
|
||
|
# - {device: disk-sda, size: 1073741824, wipe: superblock, flag: '', number: 2,
|
||
|
# preserve: false, grub_device: false, type: partition, id: partition-1}
|
||
|
# - {fstype: ext4, volume: partition-1, preserve: false, type: format, id: format-0}
|
||
|
# - {device: disk-sda, size: 899074228224, wipe: superblock, flag: '', number: 3,
|
||
|
# preserve: false, grub_device: false, type: partition, id: partition-2}
|
||
|
# - name: ubuntu-vg
|
||
|
# devices: [partition-2]
|
||
|
# preserve: false
|
||
|
# type: lvm_volgroup
|
||
|
# id: lvm_volgroup-0
|
||
|
# - {name: ubuntu-lv, volgroup: lvm_volgroup-0, size: 214748364800B, wipe: superblock,
|
||
|
# preserve: false, type: lvm_partition, id: lvm_partition-0}
|
||
|
# - {fstype: ext4, volume: lvm_partition-0, preserve: false, type: format, id: format-1}
|
||
|
# - {path: /, device: format-1, type: mount, id: mount-1}
|
||
|
# - {path: /boot, device: format-0, type: mount, id: mount-0}
|
||
|
updates: security
|
||
|
version: 1
|