2019-12-20 00:23:00 +00:00
|
|
|
version: 1
|
|
|
|
early-commands:
|
2020-04-01 03:54:46 +00:00
|
|
|
- echo a
|
|
|
|
- sleep 1
|
|
|
|
- echo a
|
2020-05-14 19:51:58 +00:00
|
|
|
locale: en_GB.UTF-8
|
2020-04-19 10:46:22 +00:00
|
|
|
refresh-installer:
|
|
|
|
update: yes
|
|
|
|
channel: edge
|
2020-04-29 02:52:02 +00:00
|
|
|
network:
|
|
|
|
version: 2
|
|
|
|
ethernets:
|
|
|
|
all-eth:
|
|
|
|
match:
|
2020-05-01 03:12:48 +00:00
|
|
|
name: "en*"
|
2020-05-01 02:45:39 +00:00
|
|
|
dhcp6: yes
|
2020-04-01 03:54:46 +00:00
|
|
|
debconf-selections: eek
|
2020-06-12 03:31:15 +00:00
|
|
|
apt:
|
2023-02-14 18:19:20 +00:00
|
|
|
mirror-selection:
|
|
|
|
primary:
|
|
|
|
- uri: http://mymirror.local/repository/Apt/ubuntu/
|
|
|
|
- country-mirror
|
|
|
|
- uri: http://archive.ubuntu.com/ubuntu
|
2022-01-05 17:35:05 +00:00
|
|
|
disable_components:
|
|
|
|
- non-free
|
|
|
|
- restricted
|
2022-01-05 15:54:11 +00:00
|
|
|
preferences:
|
|
|
|
- {package: "python3-*", pin: "origin *ubuntu.com*", pin-priority: 200}
|
|
|
|
- {package: "python-*", pin: "origin *ubuntu.com*", pin-priority: -1}
|
2020-04-01 03:54:46 +00:00
|
|
|
packages:
|
|
|
|
- package1
|
|
|
|
- package2
|
2019-12-20 01:27:41 +00:00
|
|
|
late-commands:
|
2020-04-22 05:11:25 +00:00
|
|
|
- echo late
|
2020-04-01 03:54:46 +00:00
|
|
|
- sleep 1
|
2020-04-22 05:11:25 +00:00
|
|
|
- echo late
|
2020-12-17 03:40:19 +00:00
|
|
|
error-commands:
|
|
|
|
- echo OH NOES
|
|
|
|
- sleep 5
|
|
|
|
- echo OH WELL
|
2019-12-20 00:23:00 +00:00
|
|
|
keyboard:
|
2020-04-01 03:54:46 +00:00
|
|
|
layout: gb
|
2019-12-20 00:23:00 +00:00
|
|
|
identity:
|
2020-04-01 03:54:46 +00:00
|
|
|
realname: ''
|
|
|
|
username: ubuntu
|
|
|
|
password: '$6$wdAcoXrU039hKYPd$508Qvbe7ObUnxoj15DRCkzC3qO7edjH0VV7BPNRDYK4QR8ofJaEEF2heacn0QgD.f8pO8SNp83XNdWG6tocBM1'
|
|
|
|
hostname: ubuntu
|
2021-06-08 22:54:29 +00:00
|
|
|
snaps:
|
|
|
|
- name: etcd
|
|
|
|
channel: 3.2/stable
|
2021-03-31 19:57:53 +00:00
|
|
|
updates: all
|
2021-07-15 13:30:22 +00:00
|
|
|
timezone: Pacific/Guam
|
2022-03-14 18:11:05 +00:00
|
|
|
ubuntu-pro:
|
2022-01-05 14:53:19 +00:00
|
|
|
# Token that passes the basic format checking but is invalid (i.e. contains more than 16 bytes of random data)
|
|
|
|
token: C1NWcZTHLteJXGVMM6YhvHDpGrhyy7
|
2020-05-04 02:16:03 +00:00
|
|
|
storage:
|
|
|
|
config:
|
|
|
|
- {type: disk, ptable: gpt, path: /dev/vdb, wipe: superblock, preserve: false, grub_device: true, id: disk-1}
|
|
|
|
- {type: disk, ptable: gpt, path: /dev/vdc, wipe: superblock, preserve: false, grub_device: true, id: disk-2}
|
|
|
|
- {type: partition, device: disk-1, size: 1M, wipe: superblock, flag: bios_grub, number: 1, preserve: false, id: partition-grub-1}
|
|
|
|
- {type: partition, device: disk-2, size: 1M, wipe: superblock, flag: bios_grub, number: 1, preserve: false, id: partition-grub-2}
|
|
|
|
- {type: partition, device: disk-1, size: 1G, wipe: superblock, number: 2, preserve: false, id: partition-boot-1}
|
|
|
|
- {type: partition, device: disk-2, size: 1G, wipe: superblock, number: 2, preserve: false, id: partition-boot-2}
|
2020-05-05 11:05:59 +00:00
|
|
|
- {type: partition, device: disk-1, size: 17%, wipe: superblock, number: 3, preserve: false, id: partition-system-1}
|
|
|
|
- {type: partition, device: disk-2, size: 17%, wipe: superblock, number: 3, preserve: false, id: partition-system-2}
|
2020-05-04 02:18:42 +00:00
|
|
|
- {type: raid, name: md0, raidlevel: raid1, devices: [partition-boot-1, partition-boot-2], preserve: false, id: raid-boot}
|
|
|
|
- {type: raid, name: md1, raidlevel: raid1, devices: [partition-system-1, partition-system-2], preserve: false, id: raid-system}
|
2020-05-04 02:16:03 +00:00
|
|
|
- {type: format, fstype: ext4, volume: raid-boot, preserve: false, id: format-boot}
|
|
|
|
- {type: format, fstype: ext4, volume: raid-system, preserve: false, id: format-system}
|
|
|
|
- {type: mount, device: format-system, path: /, id: mount-system}
|
2021-04-05 21:16:55 +00:00
|
|
|
- {type: mount, device: format-boot, path: /boot, id: mount-boot, options: 'errors=remount-ro'}
|