manifests: move boot/root fs uuid/label to var in fcos manifest
This makes it easier to see the important unique values in our manifest.
This commit is contained in:
parent
ac8a57c5a3
commit
d9fe4221b0
1 changed files with 23 additions and 8 deletions
|
|
@ -7,6 +7,13 @@ mpp-vars:
|
|||
root_size_mb: 2048
|
||||
sector_size: 512
|
||||
four_k_sector_size: 4096
|
||||
# Filesystem UUID and label definitions. These UUIDs
|
||||
# are looked for on boot and if found replaced with
|
||||
# a new random UUID to make each install unique.
|
||||
boot_fs_uuid: 96d15588-3596-4b3c-adca-a2ff7279ea63
|
||||
boot_fs_label: boot
|
||||
root_fs_uuid: 910678ff-f77e-4a7d-8d53-86f2ac47a823
|
||||
root_fs_label: root
|
||||
mpp-define-images:
|
||||
- id: image
|
||||
size:
|
||||
|
|
@ -159,8 +166,10 @@ pipelines:
|
|||
mpp-format-int: '{image.layout[''boot''].size}'
|
||||
lock: true
|
||||
options:
|
||||
uuid: 96d15588-3596-4b3c-adca-a2ff7279ea63
|
||||
label: boot
|
||||
uuid:
|
||||
mpp-format-string: '{boot_fs_uuid}'
|
||||
label:
|
||||
mpp-format-string: '{boot_fs_label}'
|
||||
- type: org.osbuild.mkfs.xfs
|
||||
devices:
|
||||
device:
|
||||
|
|
@ -173,8 +182,10 @@ pipelines:
|
|||
mpp-format-int: '{image.layout[''root''].size}'
|
||||
lock: true
|
||||
options:
|
||||
uuid: 910678ff-f77e-4a7d-8d53-86f2ac47a823
|
||||
label: root
|
||||
uuid:
|
||||
mpp-format-string: '{root_fs_uuid}'
|
||||
label:
|
||||
mpp-format-string: '{root_fs_label}'
|
||||
- type: org.osbuild.copy
|
||||
inputs:
|
||||
tree:
|
||||
|
|
@ -292,8 +303,10 @@ pipelines:
|
|||
sector-size:
|
||||
mpp-format-int: "{four_k_sector_size}"
|
||||
options:
|
||||
uuid: 96d15588-3596-4b3c-adca-a2ff7279ea63
|
||||
label: boot
|
||||
uuid:
|
||||
mpp-format-string: '{boot_fs_uuid}'
|
||||
label:
|
||||
mpp-format-string: '{boot_fs_label}'
|
||||
- type: org.osbuild.mkfs.xfs
|
||||
devices:
|
||||
device:
|
||||
|
|
@ -308,8 +321,10 @@ pipelines:
|
|||
sector-size:
|
||||
mpp-format-int: "{four_k_sector_size}"
|
||||
options:
|
||||
uuid: 910678ff-f77e-4a7d-8d53-86f2ac47a823
|
||||
label: root
|
||||
uuid:
|
||||
mpp-format-string: '{root_fs_uuid}'
|
||||
label:
|
||||
mpp-format-string: '{root_fs_label}'
|
||||
- type: org.osbuild.copy
|
||||
inputs:
|
||||
tree:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue