Skip to content

Commit ffa2e89

Browse files
dustymabetravier
authored andcommitted
storage: add boot_device.layout to mirror examples
Starting with Butane spec 1.7.0, boot_device.layout is required when boot_device.mirror is specified (previously it was only a warning). Since the examples use {butane-latest-stable-spec} which resolves to 1.7.0, they now fail with: error at $.boot_device.mirror: boot_device.layout should be specified when boot_device.mirror is specified Add layout: x86_64 to both examples that use boot_device.mirror, with a comment noting users should change this to match their target architecture. Fixes: #808 Assisted-by: <anthropic/claude-opus-4.6>
1 parent 607e3c8 commit ffa2e89

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

modules/ROOT/pages/storage.adoc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,8 @@ If you want to replicate the boot disk across multiple drives for resiliency to
191191
variant: fcos
192192
version: {butane-latest-stable-spec}
193193
boot_device:
194+
# Change to match target architecture (aarch64, ppc64le, etc.)
195+
layout: x86_64
194196
mirror:
195197
devices:
196198
- /dev/sda
@@ -506,6 +508,8 @@ This example configures a mirrored boot disk with a TPM2-encrypted root filesyst
506508
variant: fcos
507509
version: {butane-latest-stable-spec}
508510
boot_device:
511+
# Change to match target architecture (aarch64, ppc64le, etc.)
512+
layout: x86_64
509513
luks:
510514
tpm2: true
511515
mirror:

0 commit comments

Comments
 (0)