subiquity/examples/autoinstall.yaml

48 lines
2.1 KiB
YAML
Raw Normal View History

2019-12-20 00:23:00 +00:00
version: 1
early-commands:
- echo a
- sleep 1
- echo a
locale: en_UK.UTF-8
refresh-installer:
update: yes
channel: edge
network:
version: 2
ethernets:
all-eth:
match:
name: "eth*"
dhcp4: yes
debconf-selections: eek
packages:
- package1
- package2
2019-12-20 01:27:41 +00:00
late-commands:
- echo late
- sleep 1
- echo late
2019-12-20 00:23:00 +00:00
keyboard:
layout: gb
2019-12-20 00:23:00 +00:00
identity:
realname: ''
username: ubuntu
password: '$6$wdAcoXrU039hKYPd$508Qvbe7ObUnxoj15DRCkzC3qO7edjH0VV7BPNRDYK4QR8ofJaEEF2heacn0QgD.f8pO8SNp83XNdWG6tocBM1'
hostname: ubuntu
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}
- {type: partition, device: disk-1, size: 3G, wipe: superblock, number: 3, preserve: false, id: partition-system-1}
- {type: partition, device: disk-2, size: 3G, wipe: superblock, number: 3, preserve: false, id: partition-system-2}
- {type: raid, name: md0, raidlevel: raid1, devices: [partition-boot-1, partition-boot-2], spare_devices: [], preserve: false, id: raid-boot}
- {type: raid, name: md1, raidlevel: raid1, devices: [partition-system-1, partition-system-2], spare_devices: [], preserve: false, id: raid-system}
- {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-boot, path: /boot, id: mount-boot}
- {type: mount, device: format-system, path: /, id: mount-system}