2018-01-15 03:44:10 +00:00
|
|
|
# A sample config that has GPT/bios and EFI boot partitions
|
|
|
|
|
|
|
|
- local_loop:
|
|
|
|
name: image0
|
|
|
|
|
|
|
|
- partitioning:
|
|
|
|
base: image0
|
|
|
|
label: gpt
|
|
|
|
partitions:
|
|
|
|
- name: ESP
|
|
|
|
type: 'EF00'
|
|
|
|
size: 8MiB
|
|
|
|
mkfs:
|
|
|
|
type: vfat
|
|
|
|
mount:
|
|
|
|
mount_point: /boot/efi
|
|
|
|
fstab:
|
|
|
|
options: "defaults"
|
|
|
|
fsck-passno: 1
|
|
|
|
- name: BSP
|
|
|
|
type: 'EF02'
|
|
|
|
size: 8MiB
|
2018-06-27 03:51:04 +00:00
|
|
|
# spaces are probably a bad idea for max compatability, but
|
|
|
|
# we're deliberatly testing it here.
|
|
|
|
- name: Root Part
|
2018-01-15 03:44:10 +00:00
|
|
|
type: '8300'
|
|
|
|
size: 100%
|
|
|
|
mkfs:
|
|
|
|
type: ext4
|
|
|
|
mount:
|
|
|
|
mount_point: /
|
|
|
|
fstab:
|
|
|
|
options: "defaults"
|
|
|
|
fsck-passno: 1
|