adb0341064
This moves the block-device default out of the "vm" element and into a selection of other elements. There's "mbr" which retains the status quo. There's an EFI version that has the boot/grub partitions as required. In between there's the GPT only version, which is useful for architectures like power without EFI, but still want possible larger disks using GPT. Change-Id: I4a566a97d073fc0dda0ab2494ac988fe015800a9
31 lines
601 B
YAML
31 lines
601 B
YAML
- 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
|
|
- name: root
|
|
type: '8300'
|
|
size: 100%
|
|
mkfs:
|
|
type: ext4
|
|
mount:
|
|
mount_point: /
|
|
fstab:
|
|
options: "defaults"
|
|
fsck-passno: 1
|