#cloud-config autoinstall: version: 1 locale: en_US keyboard: layout: us identity: hostname: ready-c username: automation passwd: $6$BQXh/vXtqSe53ddm$x983UKo67PsANYJj2GDbu6SRiJjMoy2yW5jDEV9u5mBVOrhnUNI8yFUoDdetZmWZnY6RjxJWJ7s32LYMSZHTv1 disk_setup: - id: disk-nvme0n1 path: /dev/nvme0n1 ptable: gpt wipe: superblock-recursive - id: disk-nvme1n1 path: /dev/nvme1n1 ptable: gpt partitions: - id: partition-0 device: disk-nvme1n1 size: 536870912 wipe: superblock - id: partition-1 device: disk-nvme0n1 size: 536870912 wipe: superblock - id: partition-2 device: disk-nvme1n1 size: 1999859875840 wipe: superblock - id: partition-3 device: disk-nvme0n1 size: 1999859875840 wipe: superblock - id: partition-4 device: raid-0 size: 3298534883328 wipe: superblock - id: partition-5 device: raid-0 size: 700910141440 wipe: superblock raid: - id: raid-0 level: raid0 devices: - partition-2 - partition-3 lvm_volgroups: - id: lvm_volgroup-0 name: vg0 devices: - partition-5 logical_volumes: - id: lvm_partition-0 name: root size: 42949672960B volgroup: lvm_volgroup-0 - id: lvm_partition-1 name: binlogs size: 424048328704B volgroup: lvm_volgroup-0 - id: lvm_partition-2 name: logs size: 68719476736B volgroup: lvm_volgroup-0 - id: lvm_partition-3 name: tmp size: 21474836480B volgroup: lvm_volgroup-0 - id: lvm_partition-4 name: disk2 size: 85899345920B volgroup: lvm_volgroup-0 filesystems: - id: format-0 type: fat32 volume: partition-0 - id: format-1 type: ext4 volume: partition-1 - id: format-2 type: ext4 volume: lvm_partition-0 - id: format-3 type: ext4 volume: lvm_partition-1 - id: format-4 type: ext4 volume: lvm_partition-2 - id: format-5 type: ext4 volume: lvm_partition-3 - id: format-6 type: ext4 volume: lvm_partition-4 mounts: - id: mount-0 path: /boot/efi device: format-0 - id: mount-1 path: /var/lib/mysql device: format-2 - id: mount-2 path: / device: format-3 - id: mount-3 path: /srv/binlog device: format-4 - id: mount-4 path: /var/log device: format-5 - id: mount-5 path: /tmp device: format-6 - id: mount-6 path: /disk2 device: format-7 write_files: - content: | # KEYBOARD CONFIGURATION FILE # Consult the keyboard(5) manual page. XKBMODEL="pc105" XKBLAYOUT="us" XKBVARIANT="" XKBOPTIONS="" BACKSPACE="guess" path: /etc/default/keyboard permissions: '0644' - content: '96c5699742114b6897a36e21a4bf3c84' path: /etc/machine-id permissions: '0644' - content: | # This is the network config written by 'subiquity' network: ethernets: enp94s0f0: nameservers: addresses: - 8.8.8.8 - 1.1.1.1 search: - securedservers.com enp94s0f1: addresses: - 66.85.158.18/29 gateway4: 66.85.158.17 nameservers: addresses: - 8.8.8.8 - 1.1.1.1 search: - securedservers.com version: 2 path: /etc/netplan/00-installer-config.yaml permissions: '0644' - content: 'Ubuntu-Server 18.04.5 LTS "Bionic Beaver" - Release amd64 (20200806.1)' path: /var/log/installer/media-info permissions: '0644' - content: | network: config: disabled path: /etc/cloud/cloud.cfg.d/subiquity-disable-cloudinit-networking.cfg permissions: '0644' bootcmd: - 'echo "d-i mirror/suite string bionic" > /target/etc/apt/apt.conf.d/99installer' - 'echo "d-i mirror/udeb/suite string bionic" >> /target/etc/apt/apt.conf.d/99installer' - 'echo "d-i mirror/country string manual" >> /target/etc/apt/apt.conf.d/99installer' - 'echo "d-i mirror/http/hostname string 192.168.200.2" >> /target/etc/apt/apt.conf.d/99installer' - 'echo "d-i mirror/http/directory string /ISOs/ubuntu18-live-server" >> /target/etc/apt/apt.conf.d/99installer' - 'echo "d-i mirror/http/proxy string" >> /target/etc/apt/apt.conf.d/99installer'