diff --git a/internal/osbuild2/copy_stage.go b/internal/osbuild2/copy_stage.go index 3e5b3d1aa..e0ecbfe42 100644 --- a/internal/osbuild2/copy_stage.go +++ b/internal/osbuild2/copy_stage.go @@ -86,7 +86,7 @@ func GenCopyFSTreeOptions(inputName, inputPipeline, filename string, pt *disk.Pa devices := make(map[string]Device, len(pt.Partitions)) mounts := make([]Mount, 0, len(pt.Partitions)) genMounts := func(mnt disk.Mountable, path []disk.Entity) error { - stageDevices, name := getDevices(path, filename) + stageDevices, name := getDevices(path, filename, false) mountpoint := mnt.GetMountpoint() var mount *Mount diff --git a/internal/osbuild2/device.go b/internal/osbuild2/device.go index 61d4506e8..430bda073 100644 --- a/internal/osbuild2/device.go +++ b/internal/osbuild2/device.go @@ -27,7 +27,7 @@ func GenDeviceCreationStages(pt *disk.PartitionTable, filename string) []*Stage switch ent := e.(type) { case *disk.LUKSContainer: // do not include us when getting the devices - stageDevices, lastName := getDevices(path[:len(path)-1], filename) + stageDevices, lastName := getDevices(path[:len(path)-1], filename, true) // "org.osbuild.luks2.format" expects a "device" to create the VG on, // thus rename the last device to "device" @@ -56,7 +56,7 @@ func GenDeviceCreationStages(pt *disk.PartitionTable, filename string) []*Stage case *disk.LVMVolumeGroup: // do not include us when getting the devices - stageDevices, lastName := getDevices(path[:len(path)-1], filename) + stageDevices, lastName := getDevices(path[:len(path)-1], filename, true) // "org.osbuild.lvm2.create" expects a "device" to create the VG on, // thus rename the last device to "device" @@ -95,7 +95,7 @@ func GenDeviceFinishStages(pt *disk.PartitionTable, filename string) []*Stage { switch ent := e.(type) { case *disk.LVMVolumeGroup: // do not include us when getting the devices - stageDevices, lastName := getDevices(path[:len(path)-1], filename) + stageDevices, lastName := getDevices(path[:len(path)-1], filename, true) // "org.osbuild.lvm2.metadata" expects a "device" to rename the VG, // thus rename the last device to "device" @@ -136,7 +136,7 @@ func deviceName(p disk.Entity) string { panic(fmt.Sprintf("unsupported device type in deviceName: '%T'", p)) } -func getDevices(path []disk.Entity, filename string) (map[string]Device, string) { +func getDevices(path []disk.Entity, filename string, lockLoopback bool) (map[string]Device, string) { var pt *disk.PartitionTable do := make(map[string]Device) @@ -154,6 +154,7 @@ func getDevices(path []disk.Entity, filename string) (map[string]Device, string) Start: pt.BytesToSectors(e.Start), Size: pt.BytesToSectors(e.Size), SectorSize: nil, + Lock: lockLoopback, } name := deviceName(e.Payload) do[name] = *NewLoopbackDevice(&lbopt) diff --git a/internal/osbuild2/disk.go b/internal/osbuild2/disk.go index 02c245dbe..3438676ff 100644 --- a/internal/osbuild2/disk.go +++ b/internal/osbuild2/disk.go @@ -43,7 +43,10 @@ func GenImagePrepareStages(pt *disk.PartitionTable, filename string) []*Stage { // create the partition layout in the empty file sfOptions := sfdiskStageOptions(pt) loopback := NewLoopbackDevice( - &LoopbackDeviceOptions{Filename: filename}, + &LoopbackDeviceOptions{ + Filename: filename, + Lock: true, + }, ) sfdisk := NewSfdiskStage(sfOptions, loopback) diff --git a/internal/osbuild2/loopback_device.go b/internal/osbuild2/loopback_device.go index 1a1142a3d..b0d913394 100644 --- a/internal/osbuild2/loopback_device.go +++ b/internal/osbuild2/loopback_device.go @@ -14,6 +14,9 @@ type LoopbackDeviceOptions struct { // Sector size (in bytes) SectorSize *uint64 `json:"sector-size,omitempty"` + + // Lock (bsd lock) the device after opening it + Lock bool `json:"lock,omitempty"` } func (LoopbackDeviceOptions) isDeviceOptions() {} diff --git a/internal/osbuild2/mkfs_stage.go b/internal/osbuild2/mkfs_stage.go index 54f9cc80f..7ee640f4b 100644 --- a/internal/osbuild2/mkfs_stage.go +++ b/internal/osbuild2/mkfs_stage.go @@ -22,7 +22,7 @@ func GenMkfsStages(pt *disk.PartitionTable, device *Device) []*Stage { t := mnt.GetFSType() var stage *Stage - stageDevices, lastName := getDevices(path, devOptions.Filename) + stageDevices, lastName := getDevices(path, devOptions.Filename, true) // the last device on the PartitionTable must be named "device" lastDevice := stageDevices[lastName] diff --git a/test/data/manifests/centos_8-aarch64-ami-boot.json b/test/data/manifests/centos_8-aarch64-ami-boot.json index 0729be433..2d5057c2f 100644 --- a/test/data/manifests/centos_8-aarch64-ami-boot.json +++ b/test/data/manifests/centos_8-aarch64-ami-boot.json @@ -1133,7 +1133,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1149,7 +1150,8 @@ "options": { "filename": "image.raw", "start": 2048, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1165,7 +1167,8 @@ "options": { "filename": "image.raw", "start": 411648, - "size": 1048576 + "size": 1048576, + "lock": true } } } @@ -1182,7 +1185,8 @@ "options": { "filename": "image.raw", "start": 1460224, - "size": 19511263 + "size": 19511263, + "lock": true } } } diff --git a/test/data/manifests/centos_8-aarch64-edge_simplified_installer-boot.json b/test/data/manifests/centos_8-aarch64-edge_simplified_installer-boot.json index 3f9c312d0..e1b5357ff 100644 --- a/test/data/manifests/centos_8-aarch64-edge_simplified_installer-boot.json +++ b/test/data/manifests/centos_8-aarch64-edge_simplified_installer-boot.json @@ -551,7 +551,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -567,7 +568,8 @@ "options": { "filename": "image.raw", "start": 2048, - "size": 260096 + "size": 260096, + "lock": true } } } @@ -584,7 +586,8 @@ "options": { "filename": "image.raw", "start": 262144, - "size": 786432 + "size": 786432, + "lock": true } } } @@ -601,7 +604,8 @@ "options": { "filename": "image.raw", "start": 1048576, - "size": 19922911 + "size": 19922911, + "lock": true } } } @@ -1228,7 +1232,8 @@ "type": "org.osbuild.loopback", "options": { "filename": "images/efiboot.img", - "size": 40960 + "size": 40960, + "lock": true } } } diff --git a/test/data/manifests/centos_8-aarch64-openstack-boot.json b/test/data/manifests/centos_8-aarch64-openstack-boot.json index 8a2b661b0..969fcd15b 100644 --- a/test/data/manifests/centos_8-aarch64-openstack-boot.json +++ b/test/data/manifests/centos_8-aarch64-openstack-boot.json @@ -1052,7 +1052,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1068,7 +1069,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1085,7 +1087,8 @@ "options": { "filename": "disk.img", "start": 206848, - "size": 8181727 + "size": 8181727, + "lock": true } } } diff --git a/test/data/manifests/centos_8-aarch64-qcow2-boot.json b/test/data/manifests/centos_8-aarch64-qcow2-boot.json index ae95e61f1..b1580264c 100644 --- a/test/data/manifests/centos_8-aarch64-qcow2-boot.json +++ b/test/data/manifests/centos_8-aarch64-qcow2-boot.json @@ -1042,7 +1042,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1058,7 +1059,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1075,7 +1077,8 @@ "options": { "filename": "disk.img", "start": 206848, - "size": 20764639 + "size": 20764639, + "lock": true } } } diff --git a/test/data/manifests/centos_8-aarch64-qcow2_customize-boot.json b/test/data/manifests/centos_8-aarch64-qcow2_customize-boot.json index 34415f57a..9a3c79fe3 100644 --- a/test/data/manifests/centos_8-aarch64-qcow2_customize-boot.json +++ b/test/data/manifests/centos_8-aarch64-qcow2_customize-boot.json @@ -1339,7 +1339,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1355,7 +1356,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1372,7 +1374,8 @@ "options": { "filename": "disk.img", "start": 206848, - "size": 20764639 + "size": 20764639, + "lock": true } } } diff --git a/test/data/manifests/centos_8-ppc64le-qcow2-boot.json b/test/data/manifests/centos_8-ppc64le-qcow2-boot.json index 857272889..ed8ecea35 100644 --- a/test/data/manifests/centos_8-ppc64le-qcow2-boot.json +++ b/test/data/manifests/centos_8-ppc64le-qcow2-boot.json @@ -1083,7 +1083,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1099,7 +1100,8 @@ "options": { "filename": "disk.img", "start": 10240, - "size": 20961280 + "size": 20961280, + "lock": true } } } diff --git a/test/data/manifests/centos_8-ppc64le-qcow2_customize-boot.json b/test/data/manifests/centos_8-ppc64le-qcow2_customize-boot.json index 5c7c1b0d5..e24eca422 100644 --- a/test/data/manifests/centos_8-ppc64le-qcow2_customize-boot.json +++ b/test/data/manifests/centos_8-ppc64le-qcow2_customize-boot.json @@ -1431,7 +1431,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1447,7 +1448,8 @@ "options": { "filename": "disk.img", "start": 10240, - "size": 20961280 + "size": 20961280, + "lock": true } } } diff --git a/test/data/manifests/centos_8-x86_64-ami-boot.json b/test/data/manifests/centos_8-x86_64-ami-boot.json index 49fa172d8..448a525eb 100644 --- a/test/data/manifests/centos_8-x86_64-ami-boot.json +++ b/test/data/manifests/centos_8-x86_64-ami-boot.json @@ -1098,7 +1098,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1115,7 +1116,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 20967391 + "size": 20967391, + "lock": true } } } diff --git a/test/data/manifests/centos_8-x86_64-edge_simplified_installer-boot.json b/test/data/manifests/centos_8-x86_64-edge_simplified_installer-boot.json index 588a092da..e00f91dad 100644 --- a/test/data/manifests/centos_8-x86_64-edge_simplified_installer-boot.json +++ b/test/data/manifests/centos_8-x86_64-edge_simplified_installer-boot.json @@ -567,7 +567,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -583,7 +584,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 260096 + "size": 260096, + "lock": true } } } @@ -600,7 +602,8 @@ "options": { "filename": "image.raw", "start": 264192, - "size": 786432 + "size": 786432, + "lock": true } } } @@ -617,7 +620,8 @@ "options": { "filename": "image.raw", "start": 1050624, - "size": 19920863 + "size": 19920863, + "lock": true } } } @@ -1271,7 +1275,8 @@ "type": "org.osbuild.loopback", "options": { "filename": "images/efiboot.img", - "size": 40960 + "size": 40960, + "lock": true } } } diff --git a/test/data/manifests/centos_8-x86_64-openstack-boot.json b/test/data/manifests/centos_8-x86_64-openstack-boot.json index 81f8ef25b..84c323417 100644 --- a/test/data/manifests/centos_8-x86_64-openstack-boot.json +++ b/test/data/manifests/centos_8-x86_64-openstack-boot.json @@ -1073,7 +1073,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1089,7 +1090,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1106,7 +1108,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 8179679 + "size": 8179679, + "lock": true } } } diff --git a/test/data/manifests/centos_8-x86_64-qcow2-boot.json b/test/data/manifests/centos_8-x86_64-qcow2-boot.json index e2d1ea5e9..67d4fccbc 100644 --- a/test/data/manifests/centos_8-x86_64-qcow2-boot.json +++ b/test/data/manifests/centos_8-x86_64-qcow2-boot.json @@ -1061,7 +1061,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1077,7 +1078,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1094,7 +1096,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 20762591 + "size": 20762591, + "lock": true } } } diff --git a/test/data/manifests/centos_8-x86_64-qcow2_customize-boot.json b/test/data/manifests/centos_8-x86_64-qcow2_customize-boot.json index 1badfca46..d31901c13 100644 --- a/test/data/manifests/centos_8-x86_64-qcow2_customize-boot.json +++ b/test/data/manifests/centos_8-x86_64-qcow2_customize-boot.json @@ -1360,7 +1360,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1376,7 +1377,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1393,7 +1395,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 20762591 + "size": 20762591, + "lock": true } } } diff --git a/test/data/manifests/centos_8-x86_64-vhd-boot.json b/test/data/manifests/centos_8-x86_64-vhd-boot.json index 5462198f8..9b7751c6a 100644 --- a/test/data/manifests/centos_8-x86_64-vhd-boot.json +++ b/test/data/manifests/centos_8-x86_64-vhd-boot.json @@ -1076,7 +1076,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1092,7 +1093,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1109,7 +1111,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 8179679 + "size": 8179679, + "lock": true } } } diff --git a/test/data/manifests/centos_8-x86_64-vmdk-boot.json b/test/data/manifests/centos_8-x86_64-vmdk-boot.json index 05ff9e543..f19bb0fd6 100644 --- a/test/data/manifests/centos_8-x86_64-vmdk-boot.json +++ b/test/data/manifests/centos_8-x86_64-vmdk-boot.json @@ -1033,7 +1033,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1049,7 +1050,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1066,7 +1068,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 8179679 + "size": 8179679, + "lock": true } } } diff --git a/test/data/manifests/centos_9-aarch64-ami-boot.json b/test/data/manifests/centos_9-aarch64-ami-boot.json index 51db0f318..018c98df1 100644 --- a/test/data/manifests/centos_9-aarch64-ami-boot.json +++ b/test/data/manifests/centos_9-aarch64-ami-boot.json @@ -1044,7 +1044,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1060,7 +1061,8 @@ "options": { "filename": "image.raw", "start": 2048, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1077,7 +1079,8 @@ "options": { "filename": "image.raw", "start": 411648, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1094,7 +1097,8 @@ "options": { "filename": "image.raw", "start": 1435648, - "size": 19535839 + "size": 19535839, + "lock": true } } } diff --git a/test/data/manifests/centos_9-aarch64-edge_simplified_installer-boot.json b/test/data/manifests/centos_9-aarch64-edge_simplified_installer-boot.json index 073fe7f81..e2e383957 100644 --- a/test/data/manifests/centos_9-aarch64-edge_simplified_installer-boot.json +++ b/test/data/manifests/centos_9-aarch64-edge_simplified_installer-boot.json @@ -543,7 +543,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -559,7 +560,8 @@ "options": { "filename": "image.raw", "start": 2048, - "size": 260096 + "size": 260096, + "lock": true } } } @@ -576,7 +578,8 @@ "options": { "filename": "image.raw", "start": 262144, - "size": 786432 + "size": 786432, + "lock": true } } } @@ -593,7 +596,8 @@ "options": { "filename": "image.raw", "start": 1048576, - "size": 19922911 + "size": 19922911, + "lock": true } } } @@ -1216,7 +1220,8 @@ "type": "org.osbuild.loopback", "options": { "filename": "images/efiboot.img", - "size": 40960 + "size": 40960, + "lock": true } } } diff --git a/test/data/manifests/centos_9-aarch64-openstack-boot.json b/test/data/manifests/centos_9-aarch64-openstack-boot.json index 7fb1509d3..9f34b00e7 100644 --- a/test/data/manifests/centos_9-aarch64-openstack-boot.json +++ b/test/data/manifests/centos_9-aarch64-openstack-boot.json @@ -951,7 +951,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -967,7 +968,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -984,7 +986,8 @@ "options": { "filename": "disk.img", "start": 411648, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1001,7 +1004,8 @@ "options": { "filename": "disk.img", "start": 1435648, - "size": 6952927 + "size": 6952927, + "lock": true } } } diff --git a/test/data/manifests/centos_9-aarch64-qcow2-boot.json b/test/data/manifests/centos_9-aarch64-qcow2-boot.json index ea59a9084..cc2f3d939 100644 --- a/test/data/manifests/centos_9-aarch64-qcow2-boot.json +++ b/test/data/manifests/centos_9-aarch64-qcow2-boot.json @@ -959,7 +959,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -975,7 +976,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -992,7 +994,8 @@ "options": { "filename": "disk.img", "start": 411648, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1009,7 +1012,8 @@ "options": { "filename": "disk.img", "start": 1435648, - "size": 19535839 + "size": 19535839, + "lock": true } } } diff --git a/test/data/manifests/centos_9-aarch64-qcow2_customize-boot.json b/test/data/manifests/centos_9-aarch64-qcow2_customize-boot.json index 7d5f07225..b364d4b34 100644 --- a/test/data/manifests/centos_9-aarch64-qcow2_customize-boot.json +++ b/test/data/manifests/centos_9-aarch64-qcow2_customize-boot.json @@ -1270,7 +1270,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1286,7 +1287,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1303,7 +1305,8 @@ "options": { "filename": "disk.img", "start": 411648, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1320,7 +1323,8 @@ "options": { "filename": "disk.img", "start": 1435648, - "size": 19535839 + "size": 19535839, + "lock": true } } } diff --git a/test/data/manifests/centos_9-ppc64le-qcow2-boot.json b/test/data/manifests/centos_9-ppc64le-qcow2-boot.json index e652bbe0f..52df7d7cd 100644 --- a/test/data/manifests/centos_9-ppc64le-qcow2-boot.json +++ b/test/data/manifests/centos_9-ppc64le-qcow2-boot.json @@ -1007,7 +1007,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1024,7 +1025,8 @@ "options": { "filename": "disk.img", "start": 10240, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1040,7 +1042,8 @@ "options": { "filename": "disk.img", "start": 1034240, - "size": 19937280 + "size": 19937280, + "lock": true } } } diff --git a/test/data/manifests/centos_9-ppc64le-qcow2_customize-boot.json b/test/data/manifests/centos_9-ppc64le-qcow2_customize-boot.json index 47faf7a28..2be0f2c98 100644 --- a/test/data/manifests/centos_9-ppc64le-qcow2_customize-boot.json +++ b/test/data/manifests/centos_9-ppc64le-qcow2_customize-boot.json @@ -1325,7 +1325,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1342,7 +1343,8 @@ "options": { "filename": "disk.img", "start": 10240, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1358,7 +1360,8 @@ "options": { "filename": "disk.img", "start": 1034240, - "size": 19937280 + "size": 19937280, + "lock": true } } } diff --git a/test/data/manifests/centos_9-s390x-qcow2-boot.json b/test/data/manifests/centos_9-s390x-qcow2-boot.json index 04b3f3b4d..ef17b3de3 100644 --- a/test/data/manifests/centos_9-s390x-qcow2-boot.json +++ b/test/data/manifests/centos_9-s390x-qcow2-boot.json @@ -1082,7 +1082,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1099,7 +1100,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1115,7 +1117,8 @@ "options": { "filename": "disk.img", "start": 1026048, - "size": 19945472 + "size": 19945472, + "lock": true } } } diff --git a/test/data/manifests/centos_9-s390x-qcow2_customize-boot.json b/test/data/manifests/centos_9-s390x-qcow2_customize-boot.json index ee3cea974..e61bb6250 100644 --- a/test/data/manifests/centos_9-s390x-qcow2_customize-boot.json +++ b/test/data/manifests/centos_9-s390x-qcow2_customize-boot.json @@ -1383,7 +1383,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1400,7 +1401,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1416,7 +1418,8 @@ "options": { "filename": "disk.img", "start": 1026048, - "size": 19945472 + "size": 19945472, + "lock": true } } } diff --git a/test/data/manifests/centos_9-x86_64-ami-boot.json b/test/data/manifests/centos_9-x86_64-ami-boot.json index 554011b4e..515a512cb 100644 --- a/test/data/manifests/centos_9-x86_64-ami-boot.json +++ b/test/data/manifests/centos_9-x86_64-ami-boot.json @@ -1047,7 +1047,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1063,7 +1064,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1080,7 +1082,8 @@ "options": { "filename": "image.raw", "start": 413696, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1097,7 +1100,8 @@ "options": { "filename": "image.raw", "start": 1437696, - "size": 19533791 + "size": 19533791, + "lock": true } } } diff --git a/test/data/manifests/centos_9-x86_64-edge_simplified_installer-boot.json b/test/data/manifests/centos_9-x86_64-edge_simplified_installer-boot.json index 8396705bc..777900a1d 100644 --- a/test/data/manifests/centos_9-x86_64-edge_simplified_installer-boot.json +++ b/test/data/manifests/centos_9-x86_64-edge_simplified_installer-boot.json @@ -565,7 +565,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -581,7 +582,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 260096 + "size": 260096, + "lock": true } } } @@ -598,7 +600,8 @@ "options": { "filename": "image.raw", "start": 264192, - "size": 786432 + "size": 786432, + "lock": true } } } @@ -615,7 +618,8 @@ "options": { "filename": "image.raw", "start": 1050624, - "size": 19920863 + "size": 19920863, + "lock": true } } } @@ -1265,7 +1269,8 @@ "type": "org.osbuild.loopback", "options": { "filename": "images/efiboot.img", - "size": 40960 + "size": 40960, + "lock": true } } } diff --git a/test/data/manifests/centos_9-x86_64-openstack-boot.json b/test/data/manifests/centos_9-x86_64-openstack-boot.json index a929ef692..aef809c4b 100644 --- a/test/data/manifests/centos_9-x86_64-openstack-boot.json +++ b/test/data/manifests/centos_9-x86_64-openstack-boot.json @@ -999,7 +999,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1015,7 +1016,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1032,7 +1034,8 @@ "options": { "filename": "disk.img", "start": 413696, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1049,7 +1052,8 @@ "options": { "filename": "disk.img", "start": 1437696, - "size": 6950879 + "size": 6950879, + "lock": true } } } diff --git a/test/data/manifests/centos_9-x86_64-qcow2-boot.json b/test/data/manifests/centos_9-x86_64-qcow2-boot.json index 4deb8938d..c994dbf09 100644 --- a/test/data/manifests/centos_9-x86_64-qcow2-boot.json +++ b/test/data/manifests/centos_9-x86_64-qcow2-boot.json @@ -994,7 +994,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1010,7 +1011,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1027,7 +1029,8 @@ "options": { "filename": "disk.img", "start": 413696, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1044,7 +1047,8 @@ "options": { "filename": "disk.img", "start": 1437696, - "size": 19533791 + "size": 19533791, + "lock": true } } } diff --git a/test/data/manifests/centos_9-x86_64-qcow2_customize-boot.json b/test/data/manifests/centos_9-x86_64-qcow2_customize-boot.json index 4842ac947..787eff836 100644 --- a/test/data/manifests/centos_9-x86_64-qcow2_customize-boot.json +++ b/test/data/manifests/centos_9-x86_64-qcow2_customize-boot.json @@ -1320,7 +1320,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1336,7 +1337,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1353,7 +1355,8 @@ "options": { "filename": "disk.img", "start": 413696, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1370,7 +1373,8 @@ "options": { "filename": "disk.img", "start": 1437696, - "size": 19533791 + "size": 19533791, + "lock": true } } } diff --git a/test/data/manifests/centos_9-x86_64-vhd-boot.json b/test/data/manifests/centos_9-x86_64-vhd-boot.json index c1b5e1178..d3e7cef2a 100644 --- a/test/data/manifests/centos_9-x86_64-vhd-boot.json +++ b/test/data/manifests/centos_9-x86_64-vhd-boot.json @@ -998,7 +998,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1014,7 +1015,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1031,7 +1033,8 @@ "options": { "filename": "disk.img", "start": 413696, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1048,7 +1051,8 @@ "options": { "filename": "disk.img", "start": 1437696, - "size": 6950879 + "size": 6950879, + "lock": true } } } diff --git a/test/data/manifests/centos_9-x86_64-vmdk-boot.json b/test/data/manifests/centos_9-x86_64-vmdk-boot.json index a12edecd8..187bbd838 100644 --- a/test/data/manifests/centos_9-x86_64-vmdk-boot.json +++ b/test/data/manifests/centos_9-x86_64-vmdk-boot.json @@ -965,7 +965,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -981,7 +982,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -998,7 +1000,8 @@ "options": { "filename": "disk.img", "start": 413696, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1015,7 +1018,8 @@ "options": { "filename": "disk.img", "start": 1437696, - "size": 6950879 + "size": 6950879, + "lock": true } } } diff --git a/test/data/manifests/rhel_85-aarch64-ami-boot.json b/test/data/manifests/rhel_85-aarch64-ami-boot.json index e98e6b15c..ed737ad5e 100644 --- a/test/data/manifests/rhel_85-aarch64-ami-boot.json +++ b/test/data/manifests/rhel_85-aarch64-ami-boot.json @@ -1155,7 +1155,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1171,7 +1172,8 @@ "options": { "filename": "image.raw", "start": 2048, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1187,7 +1189,8 @@ "options": { "filename": "image.raw", "start": 411648, - "size": 1048576 + "size": 1048576, + "lock": true } } } @@ -1204,7 +1207,8 @@ "options": { "filename": "image.raw", "start": 1460224, - "size": 19511196 + "size": 19511196, + "lock": true } } } diff --git a/test/data/manifests/rhel_85-aarch64-ec2-boot.json b/test/data/manifests/rhel_85-aarch64-ec2-boot.json index 5a9937668..d6eb16902 100644 --- a/test/data/manifests/rhel_85-aarch64-ec2-boot.json +++ b/test/data/manifests/rhel_85-aarch64-ec2-boot.json @@ -1169,7 +1169,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1185,7 +1186,8 @@ "options": { "filename": "image.raw", "start": 2048, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1201,7 +1203,8 @@ "options": { "filename": "image.raw", "start": 411648, - "size": 1048576 + "size": 1048576, + "lock": true } } } @@ -1218,7 +1221,8 @@ "options": { "filename": "image.raw", "start": 1460224, - "size": 19511196 + "size": 19511196, + "lock": true } } } diff --git a/test/data/manifests/rhel_85-aarch64-openstack-boot.json b/test/data/manifests/rhel_85-aarch64-openstack-boot.json index 1656e9daf..f14611f38 100644 --- a/test/data/manifests/rhel_85-aarch64-openstack-boot.json +++ b/test/data/manifests/rhel_85-aarch64-openstack-boot.json @@ -1053,7 +1053,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1069,7 +1070,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1086,7 +1088,8 @@ "options": { "filename": "disk.img", "start": 206848, - "size": 8181660 + "size": 8181660, + "lock": true } } } diff --git a/test/data/manifests/rhel_85-aarch64-qcow2-boot.json b/test/data/manifests/rhel_85-aarch64-qcow2-boot.json index acb6461e6..e13fbc4af 100644 --- a/test/data/manifests/rhel_85-aarch64-qcow2-boot.json +++ b/test/data/manifests/rhel_85-aarch64-qcow2-boot.json @@ -1069,7 +1069,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1085,7 +1086,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1102,7 +1104,8 @@ "options": { "filename": "disk.img", "start": 206848, - "size": 20764572 + "size": 20764572, + "lock": true } } } diff --git a/test/data/manifests/rhel_85-aarch64-qcow2_customize-boot.json b/test/data/manifests/rhel_85-aarch64-qcow2_customize-boot.json index 1f87b795d..876ced10e 100644 --- a/test/data/manifests/rhel_85-aarch64-qcow2_customize-boot.json +++ b/test/data/manifests/rhel_85-aarch64-qcow2_customize-boot.json @@ -1427,7 +1427,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1443,7 +1444,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1460,7 +1462,8 @@ "options": { "filename": "disk.img", "start": 6498304, - "size": 14473116 + "size": 14473116, + "lock": true } } } @@ -1476,7 +1479,8 @@ "options": { "filename": "disk.img", "start": 206848, - "size": 4194304 + "size": 4194304, + "lock": true } } } @@ -1492,7 +1496,8 @@ "options": { "filename": "disk.img", "start": 4401152, - "size": 2097152 + "size": 2097152, + "lock": true } } } diff --git a/test/data/manifests/rhel_85-ppc64le-qcow2-boot.json b/test/data/manifests/rhel_85-ppc64le-qcow2-boot.json index e35a6161f..9a06155e1 100644 --- a/test/data/manifests/rhel_85-ppc64le-qcow2-boot.json +++ b/test/data/manifests/rhel_85-ppc64le-qcow2-boot.json @@ -1121,7 +1121,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1137,7 +1138,8 @@ "options": { "filename": "disk.img", "start": 10240, - "size": 20961180 + "size": 20961180, + "lock": true } } } diff --git a/test/data/manifests/rhel_85-ppc64le-qcow2_customize-boot.json b/test/data/manifests/rhel_85-ppc64le-qcow2_customize-boot.json index 0be2c4170..363a2e62c 100644 --- a/test/data/manifests/rhel_85-ppc64le-qcow2_customize-boot.json +++ b/test/data/manifests/rhel_85-ppc64le-qcow2_customize-boot.json @@ -1519,7 +1519,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1535,7 +1536,8 @@ "options": { "filename": "disk.img", "start": 6301696, - "size": 14669724 + "size": 14669724, + "lock": true } } } @@ -1551,7 +1553,8 @@ "options": { "filename": "disk.img", "start": 10240, - "size": 4194304 + "size": 4194304, + "lock": true } } } @@ -1567,7 +1570,8 @@ "options": { "filename": "disk.img", "start": 4204544, - "size": 2097152 + "size": 2097152, + "lock": true } } } diff --git a/test/data/manifests/rhel_85-s390x-qcow2-boot.json b/test/data/manifests/rhel_85-s390x-qcow2-boot.json index cdb45291a..df81f8055 100644 --- a/test/data/manifests/rhel_85-s390x-qcow2-boot.json +++ b/test/data/manifests/rhel_85-s390x-qcow2-boot.json @@ -1191,7 +1191,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1207,7 +1208,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 20969372 + "size": 20969372, + "lock": true } } } diff --git a/test/data/manifests/rhel_85-s390x-qcow2_customize-boot.json b/test/data/manifests/rhel_85-s390x-qcow2_customize-boot.json index 2087e543f..15a1b60bf 100644 --- a/test/data/manifests/rhel_85-s390x-qcow2_customize-boot.json +++ b/test/data/manifests/rhel_85-s390x-qcow2_customize-boot.json @@ -1532,7 +1532,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1548,7 +1549,8 @@ "options": { "filename": "disk.img", "start": 6293504, - "size": 14677916 + "size": 14677916, + "lock": true } } } @@ -1564,7 +1566,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 4194304 + "size": 4194304, + "lock": true } } } @@ -1580,7 +1583,8 @@ "options": { "filename": "disk.img", "start": 4196352, - "size": 2097152 + "size": 2097152, + "lock": true } } } diff --git a/test/data/manifests/rhel_85-x86_64-ami-boot.json b/test/data/manifests/rhel_85-x86_64-ami-boot.json index 878c63210..f0ed650e0 100644 --- a/test/data/manifests/rhel_85-x86_64-ami-boot.json +++ b/test/data/manifests/rhel_85-x86_64-ami-boot.json @@ -1121,7 +1121,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1138,7 +1139,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 20967324 + "size": 20967324, + "lock": true } } } diff --git a/test/data/manifests/rhel_85-x86_64-azure_rhui-boot.json b/test/data/manifests/rhel_85-x86_64-azure_rhui-boot.json index 5e92e95a4..99c33f016 100644 --- a/test/data/manifests/rhel_85-x86_64-azure_rhui-boot.json +++ b/test/data/manifests/rhel_85-x86_64-azure_rhui-boot.json @@ -1407,7 +1407,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1444,7 +1445,8 @@ "options": { "filename": "disk.img", "start": 2054144, - "size": 132163551 + "size": 132163551, + "lock": true } } } @@ -1460,7 +1462,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1476,7 +1479,8 @@ "options": { "filename": "disk.img", "start": 1026048, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1500,7 +1504,8 @@ "options": { "filename": "disk.img", "start": 2054144, - "size": 132163551 + "size": 132163551, + "lock": true } } } @@ -1524,7 +1529,8 @@ "options": { "filename": "disk.img", "start": 2054144, - "size": 132163551 + "size": 132163551, + "lock": true } } } @@ -1548,7 +1554,8 @@ "options": { "filename": "disk.img", "start": 2054144, - "size": 132163551 + "size": 132163551, + "lock": true } } } @@ -1572,7 +1579,8 @@ "options": { "filename": "disk.img", "start": 2054144, - "size": 132163551 + "size": 132163551, + "lock": true } } } @@ -1596,7 +1604,8 @@ "options": { "filename": "disk.img", "start": 2054144, - "size": 132163551 + "size": 132163551, + "lock": true } } } @@ -1737,7 +1746,8 @@ "options": { "filename": "disk.img", "start": 2054144, - "size": 132163551 + "size": 132163551, + "lock": true } } } diff --git a/test/data/manifests/rhel_85-x86_64-ec2-boot.json b/test/data/manifests/rhel_85-x86_64-ec2-boot.json index 2b6df2e16..8134da38b 100644 --- a/test/data/manifests/rhel_85-x86_64-ec2-boot.json +++ b/test/data/manifests/rhel_85-x86_64-ec2-boot.json @@ -1136,7 +1136,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1153,7 +1154,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 20967324 + "size": 20967324, + "lock": true } } } diff --git a/test/data/manifests/rhel_85-x86_64-ec2_ha-boot.json b/test/data/manifests/rhel_85-x86_64-ec2_ha-boot.json index 4f614a525..9a6b1ae87 100644 --- a/test/data/manifests/rhel_85-x86_64-ec2_ha-boot.json +++ b/test/data/manifests/rhel_85-x86_64-ec2_ha-boot.json @@ -1320,7 +1320,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1337,7 +1338,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 20967324 + "size": 20967324, + "lock": true } } } diff --git a/test/data/manifests/rhel_85-x86_64-openstack-boot.json b/test/data/manifests/rhel_85-x86_64-openstack-boot.json index cd47172b0..e0123c386 100644 --- a/test/data/manifests/rhel_85-x86_64-openstack-boot.json +++ b/test/data/manifests/rhel_85-x86_64-openstack-boot.json @@ -1076,7 +1076,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1092,7 +1093,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1109,7 +1111,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 8179612 + "size": 8179612, + "lock": true } } } diff --git a/test/data/manifests/rhel_85-x86_64-qcow2-boot.json b/test/data/manifests/rhel_85-x86_64-qcow2-boot.json index 6a9fb3ce4..ea759942a 100644 --- a/test/data/manifests/rhel_85-x86_64-qcow2-boot.json +++ b/test/data/manifests/rhel_85-x86_64-qcow2-boot.json @@ -1089,7 +1089,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1105,7 +1106,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1122,7 +1124,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 20762524 + "size": 20762524, + "lock": true } } } diff --git a/test/data/manifests/rhel_85-x86_64-qcow2_customize-boot.json b/test/data/manifests/rhel_85-x86_64-qcow2_customize-boot.json index 90168a4b9..b1009f914 100644 --- a/test/data/manifests/rhel_85-x86_64-qcow2_customize-boot.json +++ b/test/data/manifests/rhel_85-x86_64-qcow2_customize-boot.json @@ -1451,7 +1451,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1467,7 +1468,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1484,7 +1486,8 @@ "options": { "filename": "disk.img", "start": 6500352, - "size": 14471068 + "size": 14471068, + "lock": true } } } @@ -1500,7 +1503,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 4194304 + "size": 4194304, + "lock": true } } } @@ -1516,7 +1520,8 @@ "options": { "filename": "disk.img", "start": 4403200, - "size": 2097152 + "size": 2097152, + "lock": true } } } diff --git a/test/data/manifests/rhel_85-x86_64-vhd-boot.json b/test/data/manifests/rhel_85-x86_64-vhd-boot.json index 351b942da..2ce8a8f37 100644 --- a/test/data/manifests/rhel_85-x86_64-vhd-boot.json +++ b/test/data/manifests/rhel_85-x86_64-vhd-boot.json @@ -1087,7 +1087,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1103,7 +1104,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1120,7 +1122,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 8179612 + "size": 8179612, + "lock": true } } } diff --git a/test/data/manifests/rhel_85-x86_64-vmdk-boot.json b/test/data/manifests/rhel_85-x86_64-vmdk-boot.json index 42d78d0d2..864577a74 100644 --- a/test/data/manifests/rhel_85-x86_64-vmdk-boot.json +++ b/test/data/manifests/rhel_85-x86_64-vmdk-boot.json @@ -1050,7 +1050,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1066,7 +1067,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1083,7 +1085,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 8179612 + "size": 8179612, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-aarch64-ami-boot.json b/test/data/manifests/rhel_86-aarch64-ami-boot.json index 86871cef8..1a6f26cf9 100644 --- a/test/data/manifests/rhel_86-aarch64-ami-boot.json +++ b/test/data/manifests/rhel_86-aarch64-ami-boot.json @@ -1160,7 +1160,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1176,7 +1177,8 @@ "options": { "filename": "image.raw", "start": 2048, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1192,7 +1194,8 @@ "options": { "filename": "image.raw", "start": 411648, - "size": 1048576 + "size": 1048576, + "lock": true } } } @@ -1209,7 +1212,8 @@ "options": { "filename": "image.raw", "start": 1460224, - "size": 19511263 + "size": 19511263, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-aarch64-ec2-boot.json b/test/data/manifests/rhel_86-aarch64-ec2-boot.json index 20cb3ef71..542fdd86c 100644 --- a/test/data/manifests/rhel_86-aarch64-ec2-boot.json +++ b/test/data/manifests/rhel_86-aarch64-ec2-boot.json @@ -1174,7 +1174,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1190,7 +1191,8 @@ "options": { "filename": "image.raw", "start": 2048, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1206,7 +1208,8 @@ "options": { "filename": "image.raw", "start": 411648, - "size": 1048576 + "size": 1048576, + "lock": true } } } @@ -1223,7 +1226,8 @@ "options": { "filename": "image.raw", "start": 1460224, - "size": 19511263 + "size": 19511263, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-aarch64-edge_simplified_installer-boot.json b/test/data/manifests/rhel_86-aarch64-edge_simplified_installer-boot.json index 187afd3c2..46b52893d 100644 --- a/test/data/manifests/rhel_86-aarch64-edge_simplified_installer-boot.json +++ b/test/data/manifests/rhel_86-aarch64-edge_simplified_installer-boot.json @@ -549,7 +549,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -565,7 +566,8 @@ "options": { "filename": "image.raw", "start": 2048, - "size": 260096 + "size": 260096, + "lock": true } } } @@ -582,7 +584,8 @@ "options": { "filename": "image.raw", "start": 262144, - "size": 786432 + "size": 786432, + "lock": true } } } @@ -599,7 +602,8 @@ "options": { "filename": "image.raw", "start": 1048576, - "size": 19922911 + "size": 19922911, + "lock": true } } } @@ -1225,7 +1229,8 @@ "type": "org.osbuild.loopback", "options": { "filename": "images/efiboot.img", - "size": 40960 + "size": 40960, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-aarch64-openstack-boot.json b/test/data/manifests/rhel_86-aarch64-openstack-boot.json index a15852cd6..f06489b01 100644 --- a/test/data/manifests/rhel_86-aarch64-openstack-boot.json +++ b/test/data/manifests/rhel_86-aarch64-openstack-boot.json @@ -1065,7 +1065,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1081,7 +1082,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1098,7 +1100,8 @@ "options": { "filename": "disk.img", "start": 206848, - "size": 8181727 + "size": 8181727, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-aarch64-qcow2-boot.json b/test/data/manifests/rhel_86-aarch64-qcow2-boot.json index ccabca586..ccd0df6f8 100644 --- a/test/data/manifests/rhel_86-aarch64-qcow2-boot.json +++ b/test/data/manifests/rhel_86-aarch64-qcow2-boot.json @@ -1074,7 +1074,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1090,7 +1091,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1107,7 +1109,8 @@ "options": { "filename": "disk.img", "start": 206848, - "size": 20764639 + "size": 20764639, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-aarch64-qcow2_customize-boot.json b/test/data/manifests/rhel_86-aarch64-qcow2_customize-boot.json index 73901e85c..62ccd89d6 100644 --- a/test/data/manifests/rhel_86-aarch64-qcow2_customize-boot.json +++ b/test/data/manifests/rhel_86-aarch64-qcow2_customize-boot.json @@ -1394,7 +1394,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1410,7 +1411,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1427,7 +1429,8 @@ "options": { "filename": "disk.img", "start": 206848, - "size": 20764639 + "size": 20764639, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-ppc64le-qcow2-boot.json b/test/data/manifests/rhel_86-ppc64le-qcow2-boot.json index 9c16dbb17..3d7b9d9c2 100644 --- a/test/data/manifests/rhel_86-ppc64le-qcow2-boot.json +++ b/test/data/manifests/rhel_86-ppc64le-qcow2-boot.json @@ -1115,7 +1115,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1131,7 +1132,8 @@ "options": { "filename": "disk.img", "start": 10240, - "size": 20961280 + "size": 20961280, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-ppc64le-qcow2_customize-boot.json b/test/data/manifests/rhel_86-ppc64le-qcow2_customize-boot.json index 435d4cd29..a0e1861ca 100644 --- a/test/data/manifests/rhel_86-ppc64le-qcow2_customize-boot.json +++ b/test/data/manifests/rhel_86-ppc64le-qcow2_customize-boot.json @@ -1486,7 +1486,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1502,7 +1503,8 @@ "options": { "filename": "disk.img", "start": 10240, - "size": 20961280 + "size": 20961280, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-s390x-qcow2-boot.json b/test/data/manifests/rhel_86-s390x-qcow2-boot.json index 05e4b3431..8261a93c5 100644 --- a/test/data/manifests/rhel_86-s390x-qcow2-boot.json +++ b/test/data/manifests/rhel_86-s390x-qcow2-boot.json @@ -1182,7 +1182,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1198,7 +1199,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 20969472 + "size": 20969472, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-s390x-qcow2_customize-boot.json b/test/data/manifests/rhel_86-s390x-qcow2_customize-boot.json index a29b52cab..f3b70ff86 100644 --- a/test/data/manifests/rhel_86-s390x-qcow2_customize-boot.json +++ b/test/data/manifests/rhel_86-s390x-qcow2_customize-boot.json @@ -1493,7 +1493,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1509,7 +1510,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 20969472 + "size": 20969472, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-x86_64-ami-boot.json b/test/data/manifests/rhel_86-x86_64-ami-boot.json index d61f95ecf..68c86d153 100644 --- a/test/data/manifests/rhel_86-x86_64-ami-boot.json +++ b/test/data/manifests/rhel_86-x86_64-ami-boot.json @@ -1128,7 +1128,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1145,7 +1146,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 20967391 + "size": 20967391, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-x86_64-azure_rhui-boot.json b/test/data/manifests/rhel_86-x86_64-azure_rhui-boot.json index 77afebfbe..98861d368 100644 --- a/test/data/manifests/rhel_86-x86_64-azure_rhui-boot.json +++ b/test/data/manifests/rhel_86-x86_64-azure_rhui-boot.json @@ -1411,7 +1411,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1448,7 +1449,8 @@ "options": { "filename": "disk.img", "start": 2054144, - "size": 132163551 + "size": 132163551, + "lock": true } } } @@ -1464,7 +1466,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1480,7 +1483,8 @@ "options": { "filename": "disk.img", "start": 1026048, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1504,7 +1508,8 @@ "options": { "filename": "disk.img", "start": 2054144, - "size": 132163551 + "size": 132163551, + "lock": true } } } @@ -1528,7 +1533,8 @@ "options": { "filename": "disk.img", "start": 2054144, - "size": 132163551 + "size": 132163551, + "lock": true } } } @@ -1552,7 +1558,8 @@ "options": { "filename": "disk.img", "start": 2054144, - "size": 132163551 + "size": 132163551, + "lock": true } } } @@ -1576,7 +1583,8 @@ "options": { "filename": "disk.img", "start": 2054144, - "size": 132163551 + "size": 132163551, + "lock": true } } } @@ -1600,7 +1608,8 @@ "options": { "filename": "disk.img", "start": 2054144, - "size": 132163551 + "size": 132163551, + "lock": true } } } @@ -1741,7 +1750,8 @@ "options": { "filename": "disk.img", "start": 2054144, - "size": 132163551 + "size": 132163551, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-x86_64-ec2-boot.json b/test/data/manifests/rhel_86-x86_64-ec2-boot.json index 7769c2dff..c2f25e5f4 100644 --- a/test/data/manifests/rhel_86-x86_64-ec2-boot.json +++ b/test/data/manifests/rhel_86-x86_64-ec2-boot.json @@ -1144,7 +1144,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1161,7 +1162,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 20967391 + "size": 20967391, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-x86_64-ec2_ha-boot.json b/test/data/manifests/rhel_86-x86_64-ec2_ha-boot.json index c0efc0520..8a70837b8 100644 --- a/test/data/manifests/rhel_86-x86_64-ec2_ha-boot.json +++ b/test/data/manifests/rhel_86-x86_64-ec2_ha-boot.json @@ -1329,7 +1329,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1346,7 +1347,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 20967391 + "size": 20967391, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-x86_64-ec2_sap-boot.json b/test/data/manifests/rhel_86-x86_64-ec2_sap-boot.json index 477f52f5f..18be173bd 100644 --- a/test/data/manifests/rhel_86-x86_64-ec2_sap-boot.json +++ b/test/data/manifests/rhel_86-x86_64-ec2_sap-boot.json @@ -1524,7 +1524,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1541,7 +1542,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 20967391 + "size": 20967391, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-x86_64-edge_simplified_installer-boot.json b/test/data/manifests/rhel_86-x86_64-edge_simplified_installer-boot.json index 4275ee746..1dd2ec782 100644 --- a/test/data/manifests/rhel_86-x86_64-edge_simplified_installer-boot.json +++ b/test/data/manifests/rhel_86-x86_64-edge_simplified_installer-boot.json @@ -565,7 +565,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -581,7 +582,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 260096 + "size": 260096, + "lock": true } } } @@ -598,7 +600,8 @@ "options": { "filename": "image.raw", "start": 264192, - "size": 786432 + "size": 786432, + "lock": true } } } @@ -615,7 +618,8 @@ "options": { "filename": "image.raw", "start": 1050624, - "size": 19920863 + "size": 19920863, + "lock": true } } } @@ -1268,7 +1272,8 @@ "type": "org.osbuild.loopback", "options": { "filename": "images/efiboot.img", - "size": 40960 + "size": 40960, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-x86_64-openstack-boot.json b/test/data/manifests/rhel_86-x86_64-openstack-boot.json index c7cf5724f..1ac857972 100644 --- a/test/data/manifests/rhel_86-x86_64-openstack-boot.json +++ b/test/data/manifests/rhel_86-x86_64-openstack-boot.json @@ -1088,7 +1088,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1104,7 +1105,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1121,7 +1123,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 8179679 + "size": 8179679, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-x86_64-qcow2-boot.json b/test/data/manifests/rhel_86-x86_64-qcow2-boot.json index 36efc50f3..e9c0ca9df 100644 --- a/test/data/manifests/rhel_86-x86_64-qcow2-boot.json +++ b/test/data/manifests/rhel_86-x86_64-qcow2-boot.json @@ -1094,7 +1094,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1110,7 +1111,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1127,7 +1129,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 20762591 + "size": 20762591, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-x86_64-qcow2_customize-boot.json b/test/data/manifests/rhel_86-x86_64-qcow2_customize-boot.json index efa63d63c..d702b597c 100644 --- a/test/data/manifests/rhel_86-x86_64-qcow2_customize-boot.json +++ b/test/data/manifests/rhel_86-x86_64-qcow2_customize-boot.json @@ -1418,7 +1418,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1434,7 +1435,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1451,7 +1453,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 20762591 + "size": 20762591, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-x86_64-vhd-boot.json b/test/data/manifests/rhel_86-x86_64-vhd-boot.json index c27ccb683..83a4e9389 100644 --- a/test/data/manifests/rhel_86-x86_64-vhd-boot.json +++ b/test/data/manifests/rhel_86-x86_64-vhd-boot.json @@ -1091,7 +1091,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1107,7 +1108,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1124,7 +1126,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 8179679 + "size": 8179679, + "lock": true } } } diff --git a/test/data/manifests/rhel_86-x86_64-vmdk-boot.json b/test/data/manifests/rhel_86-x86_64-vmdk-boot.json index 346bcdfd7..7b24c4398 100644 --- a/test/data/manifests/rhel_86-x86_64-vmdk-boot.json +++ b/test/data/manifests/rhel_86-x86_64-vmdk-boot.json @@ -1054,7 +1054,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1070,7 +1071,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1087,7 +1089,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 8179679 + "size": 8179679, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-aarch64-ami-boot.json b/test/data/manifests/rhel_90-aarch64-ami-boot.json index 8ff77a2f8..0becc3161 100644 --- a/test/data/manifests/rhel_90-aarch64-ami-boot.json +++ b/test/data/manifests/rhel_90-aarch64-ami-boot.json @@ -1067,7 +1067,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1083,7 +1084,8 @@ "options": { "filename": "image.raw", "start": 2048, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1100,7 +1102,8 @@ "options": { "filename": "image.raw", "start": 411648, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1117,7 +1120,8 @@ "options": { "filename": "image.raw", "start": 1435648, - "size": 19535839 + "size": 19535839, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-aarch64-ec2-boot.json b/test/data/manifests/rhel_90-aarch64-ec2-boot.json index f88957d34..73672f13f 100644 --- a/test/data/manifests/rhel_90-aarch64-ec2-boot.json +++ b/test/data/manifests/rhel_90-aarch64-ec2-boot.json @@ -1082,7 +1082,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1098,7 +1099,8 @@ "options": { "filename": "image.raw", "start": 2048, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1115,7 +1117,8 @@ "options": { "filename": "image.raw", "start": 411648, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1132,7 +1135,8 @@ "options": { "filename": "image.raw", "start": 1435648, - "size": 19535839 + "size": 19535839, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-aarch64-edge_simplified_installer-boot.json b/test/data/manifests/rhel_90-aarch64-edge_simplified_installer-boot.json index 76b033c5d..99cde9919 100644 --- a/test/data/manifests/rhel_90-aarch64-edge_simplified_installer-boot.json +++ b/test/data/manifests/rhel_90-aarch64-edge_simplified_installer-boot.json @@ -541,7 +541,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -557,7 +558,8 @@ "options": { "filename": "image.raw", "start": 2048, - "size": 260096 + "size": 260096, + "lock": true } } } @@ -574,7 +576,8 @@ "options": { "filename": "image.raw", "start": 262144, - "size": 786432 + "size": 786432, + "lock": true } } } @@ -591,7 +594,8 @@ "options": { "filename": "image.raw", "start": 1048576, - "size": 19922911 + "size": 19922911, + "lock": true } } } @@ -1213,7 +1217,8 @@ "type": "org.osbuild.loopback", "options": { "filename": "images/efiboot.img", - "size": 40960 + "size": 40960, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-aarch64-openstack-boot.json b/test/data/manifests/rhel_90-aarch64-openstack-boot.json index 3ba379bbd..404ebf16a 100644 --- a/test/data/manifests/rhel_90-aarch64-openstack-boot.json +++ b/test/data/manifests/rhel_90-aarch64-openstack-boot.json @@ -961,7 +961,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -977,7 +978,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -994,7 +996,8 @@ "options": { "filename": "disk.img", "start": 411648, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1011,7 +1014,8 @@ "options": { "filename": "disk.img", "start": 1435648, - "size": 6952927 + "size": 6952927, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-aarch64-qcow2-boot.json b/test/data/manifests/rhel_90-aarch64-qcow2-boot.json index 7e9d998e4..65c4a841a 100644 --- a/test/data/manifests/rhel_90-aarch64-qcow2-boot.json +++ b/test/data/manifests/rhel_90-aarch64-qcow2-boot.json @@ -987,7 +987,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1003,7 +1004,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1020,7 +1022,8 @@ "options": { "filename": "disk.img", "start": 411648, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1037,7 +1040,8 @@ "options": { "filename": "disk.img", "start": 1435648, - "size": 19535839 + "size": 19535839, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-aarch64-qcow2_customize-boot.json b/test/data/manifests/rhel_90-aarch64-qcow2_customize-boot.json index 3f0d4dfbd..d980178e7 100644 --- a/test/data/manifests/rhel_90-aarch64-qcow2_customize-boot.json +++ b/test/data/manifests/rhel_90-aarch64-qcow2_customize-boot.json @@ -1320,7 +1320,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1336,7 +1337,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1353,7 +1355,8 @@ "options": { "filename": "disk.img", "start": 411648, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1370,7 +1373,8 @@ "options": { "filename": "disk.img", "start": 1435648, - "size": 19535839 + "size": 19535839, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-ppc64le-qcow2-boot.json b/test/data/manifests/rhel_90-ppc64le-qcow2-boot.json index 572e12d55..6fcdc84a0 100644 --- a/test/data/manifests/rhel_90-ppc64le-qcow2-boot.json +++ b/test/data/manifests/rhel_90-ppc64le-qcow2-boot.json @@ -1037,7 +1037,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1054,7 +1055,8 @@ "options": { "filename": "disk.img", "start": 10240, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1070,7 +1072,8 @@ "options": { "filename": "disk.img", "start": 1034240, - "size": 19937280 + "size": 19937280, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-ppc64le-qcow2_customize-boot.json b/test/data/manifests/rhel_90-ppc64le-qcow2_customize-boot.json index 0a19685a4..0b541d741 100644 --- a/test/data/manifests/rhel_90-ppc64le-qcow2_customize-boot.json +++ b/test/data/manifests/rhel_90-ppc64le-qcow2_customize-boot.json @@ -1378,7 +1378,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1395,7 +1396,8 @@ "options": { "filename": "disk.img", "start": 10240, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1411,7 +1413,8 @@ "options": { "filename": "disk.img", "start": 1034240, - "size": 19937280 + "size": 19937280, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-s390x-qcow2-boot.json b/test/data/manifests/rhel_90-s390x-qcow2-boot.json index 2d22b7ac1..6bb752a8d 100644 --- a/test/data/manifests/rhel_90-s390x-qcow2-boot.json +++ b/test/data/manifests/rhel_90-s390x-qcow2-boot.json @@ -1111,7 +1111,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1128,7 +1129,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1144,7 +1146,8 @@ "options": { "filename": "disk.img", "start": 1026048, - "size": 19945472 + "size": 19945472, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-s390x-qcow2_customize-boot.json b/test/data/manifests/rhel_90-s390x-qcow2_customize-boot.json index 12f0ea05a..6860afc2b 100644 --- a/test/data/manifests/rhel_90-s390x-qcow2_customize-boot.json +++ b/test/data/manifests/rhel_90-s390x-qcow2_customize-boot.json @@ -1434,7 +1434,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1451,7 +1452,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1467,7 +1469,8 @@ "options": { "filename": "disk.img", "start": 1026048, - "size": 19945472 + "size": 19945472, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-x86_64-ami-boot.json b/test/data/manifests/rhel_90-x86_64-ami-boot.json index 398f40a3d..0480d71aa 100644 --- a/test/data/manifests/rhel_90-x86_64-ami-boot.json +++ b/test/data/manifests/rhel_90-x86_64-ami-boot.json @@ -1065,7 +1065,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1081,7 +1082,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1098,7 +1100,8 @@ "options": { "filename": "image.raw", "start": 413696, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1115,7 +1118,8 @@ "options": { "filename": "image.raw", "start": 1437696, - "size": 19533791 + "size": 19533791, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-x86_64-ec2-boot.json b/test/data/manifests/rhel_90-x86_64-ec2-boot.json index 21c8fe02a..20b69c2c8 100644 --- a/test/data/manifests/rhel_90-x86_64-ec2-boot.json +++ b/test/data/manifests/rhel_90-x86_64-ec2-boot.json @@ -1082,7 +1082,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1098,7 +1099,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1115,7 +1117,8 @@ "options": { "filename": "image.raw", "start": 413696, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1132,7 +1135,8 @@ "options": { "filename": "image.raw", "start": 1437696, - "size": 19533791 + "size": 19533791, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-x86_64-ec2_ha-boot.json b/test/data/manifests/rhel_90-x86_64-ec2_ha-boot.json index 75c601b6d..051c3805c 100644 --- a/test/data/manifests/rhel_90-x86_64-ec2_ha-boot.json +++ b/test/data/manifests/rhel_90-x86_64-ec2_ha-boot.json @@ -1280,7 +1280,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1296,7 +1297,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1313,7 +1315,8 @@ "options": { "filename": "image.raw", "start": 413696, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1330,7 +1333,8 @@ "options": { "filename": "image.raw", "start": 1437696, - "size": 19533791 + "size": 19533791, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-x86_64-ec2_sap-boot.json b/test/data/manifests/rhel_90-x86_64-ec2_sap-boot.json index a12c730e6..44f4e0922 100644 --- a/test/data/manifests/rhel_90-x86_64-ec2_sap-boot.json +++ b/test/data/manifests/rhel_90-x86_64-ec2_sap-boot.json @@ -1505,7 +1505,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1521,7 +1522,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1538,7 +1540,8 @@ "options": { "filename": "image.raw", "start": 413696, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1555,7 +1558,8 @@ "options": { "filename": "image.raw", "start": 1437696, - "size": 19533791 + "size": 19533791, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-x86_64-edge_simplified_installer-boot.json b/test/data/manifests/rhel_90-x86_64-edge_simplified_installer-boot.json index fffd3b8fa..015447b9b 100644 --- a/test/data/manifests/rhel_90-x86_64-edge_simplified_installer-boot.json +++ b/test/data/manifests/rhel_90-x86_64-edge_simplified_installer-boot.json @@ -556,7 +556,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -572,7 +573,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 260096 + "size": 260096, + "lock": true } } } @@ -589,7 +591,8 @@ "options": { "filename": "image.raw", "start": 264192, - "size": 786432 + "size": 786432, + "lock": true } } } @@ -606,7 +609,8 @@ "options": { "filename": "image.raw", "start": 1050624, - "size": 19920863 + "size": 19920863, + "lock": true } } } @@ -1254,7 +1258,8 @@ "type": "org.osbuild.loopback", "options": { "filename": "images/efiboot.img", - "size": 40960 + "size": 40960, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-x86_64-openstack-boot.json b/test/data/manifests/rhel_90-x86_64-openstack-boot.json index 8316a7047..ed62732e8 100644 --- a/test/data/manifests/rhel_90-x86_64-openstack-boot.json +++ b/test/data/manifests/rhel_90-x86_64-openstack-boot.json @@ -1003,7 +1003,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1019,7 +1020,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1036,7 +1038,8 @@ "options": { "filename": "disk.img", "start": 413696, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1053,7 +1056,8 @@ "options": { "filename": "disk.img", "start": 1437696, - "size": 6950879 + "size": 6950879, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-x86_64-qcow2-boot.json b/test/data/manifests/rhel_90-x86_64-qcow2-boot.json index 509921f7b..984d89d64 100644 --- a/test/data/manifests/rhel_90-x86_64-qcow2-boot.json +++ b/test/data/manifests/rhel_90-x86_64-qcow2-boot.json @@ -1015,7 +1015,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1031,7 +1032,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1048,7 +1050,8 @@ "options": { "filename": "disk.img", "start": 413696, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1065,7 +1068,8 @@ "options": { "filename": "disk.img", "start": 1437696, - "size": 19533791 + "size": 19533791, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-x86_64-qcow2_customize-boot.json b/test/data/manifests/rhel_90-x86_64-qcow2_customize-boot.json index 91afc5988..a1b619803 100644 --- a/test/data/manifests/rhel_90-x86_64-qcow2_customize-boot.json +++ b/test/data/manifests/rhel_90-x86_64-qcow2_customize-boot.json @@ -1365,7 +1365,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1381,7 +1382,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1398,7 +1400,8 @@ "options": { "filename": "disk.img", "start": 413696, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1415,7 +1418,8 @@ "options": { "filename": "disk.img", "start": 1437696, - "size": 19533791 + "size": 19533791, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-x86_64-vhd-boot.json b/test/data/manifests/rhel_90-x86_64-vhd-boot.json index c03342d90..4de2b6631 100644 --- a/test/data/manifests/rhel_90-x86_64-vhd-boot.json +++ b/test/data/manifests/rhel_90-x86_64-vhd-boot.json @@ -1002,7 +1002,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1018,7 +1019,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1035,7 +1037,8 @@ "options": { "filename": "disk.img", "start": 413696, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1052,7 +1055,8 @@ "options": { "filename": "disk.img", "start": 1437696, - "size": 6950879 + "size": 6950879, + "lock": true } } } diff --git a/test/data/manifests/rhel_90-x86_64-vmdk-boot.json b/test/data/manifests/rhel_90-x86_64-vmdk-boot.json index c76d74deb..047e156ce 100644 --- a/test/data/manifests/rhel_90-x86_64-vmdk-boot.json +++ b/test/data/manifests/rhel_90-x86_64-vmdk-boot.json @@ -975,7 +975,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -991,7 +992,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1008,7 +1010,8 @@ "options": { "filename": "disk.img", "start": 413696, - "size": 1024000 + "size": 1024000, + "lock": true } } } @@ -1025,7 +1028,8 @@ "options": { "filename": "disk.img", "start": 1437696, - "size": 6950879 + "size": 6950879, + "lock": true } } } diff --git a/test/data/manifests/rhel_90_beta-aarch64-ami-boot.json b/test/data/manifests/rhel_90_beta-aarch64-ami-boot.json index 4d6dca6d4..e50f22b77 100644 --- a/test/data/manifests/rhel_90_beta-aarch64-ami-boot.json +++ b/test/data/manifests/rhel_90_beta-aarch64-ami-boot.json @@ -1059,7 +1059,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1075,7 +1076,8 @@ "options": { "filename": "image.raw", "start": 2048, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1091,7 +1093,8 @@ "options": { "filename": "image.raw", "start": 411648, - "size": 1048576 + "size": 1048576, + "lock": true } } } @@ -1108,7 +1111,8 @@ "options": { "filename": "image.raw", "start": 1460224, - "size": 19511196 + "size": 19511196, + "lock": true } } } diff --git a/test/data/manifests/rhel_90_beta-aarch64-ec2-boot.json b/test/data/manifests/rhel_90_beta-aarch64-ec2-boot.json index 73f341e9a..2782bd241 100644 --- a/test/data/manifests/rhel_90_beta-aarch64-ec2-boot.json +++ b/test/data/manifests/rhel_90_beta-aarch64-ec2-boot.json @@ -1073,7 +1073,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1089,7 +1090,8 @@ "options": { "filename": "image.raw", "start": 2048, - "size": 409600 + "size": 409600, + "lock": true } } } @@ -1105,7 +1107,8 @@ "options": { "filename": "image.raw", "start": 411648, - "size": 1048576 + "size": 1048576, + "lock": true } } } @@ -1122,7 +1125,8 @@ "options": { "filename": "image.raw", "start": 1460224, - "size": 19511196 + "size": 19511196, + "lock": true } } } diff --git a/test/data/manifests/rhel_90_beta-aarch64-openstack-boot.json b/test/data/manifests/rhel_90_beta-aarch64-openstack-boot.json index ee815e28e..9da71cd0b 100644 --- a/test/data/manifests/rhel_90_beta-aarch64-openstack-boot.json +++ b/test/data/manifests/rhel_90_beta-aarch64-openstack-boot.json @@ -947,7 +947,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -963,7 +964,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -980,7 +982,8 @@ "options": { "filename": "disk.img", "start": 206848, - "size": 8181660 + "size": 8181660, + "lock": true } } } diff --git a/test/data/manifests/rhel_90_beta-aarch64-qcow2-boot.json b/test/data/manifests/rhel_90_beta-aarch64-qcow2-boot.json index 4518650a0..fff6d3ecc 100644 --- a/test/data/manifests/rhel_90_beta-aarch64-qcow2-boot.json +++ b/test/data/manifests/rhel_90_beta-aarch64-qcow2-boot.json @@ -969,7 +969,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -985,7 +986,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1002,7 +1004,8 @@ "options": { "filename": "disk.img", "start": 206848, - "size": 20764572 + "size": 20764572, + "lock": true } } } diff --git a/test/data/manifests/rhel_90_beta-aarch64-qcow2_customize-boot.json b/test/data/manifests/rhel_90_beta-aarch64-qcow2_customize-boot.json index aa56800b9..f25f147f0 100644 --- a/test/data/manifests/rhel_90_beta-aarch64-qcow2_customize-boot.json +++ b/test/data/manifests/rhel_90_beta-aarch64-qcow2_customize-boot.json @@ -1309,7 +1309,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1325,7 +1326,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1342,7 +1344,8 @@ "options": { "filename": "disk.img", "start": 206848, - "size": 20764572 + "size": 20764572, + "lock": true } } } diff --git a/test/data/manifests/rhel_90_beta-ppc64le-qcow2-boot.json b/test/data/manifests/rhel_90_beta-ppc64le-qcow2-boot.json index 6ce415646..387df4117 100644 --- a/test/data/manifests/rhel_90_beta-ppc64le-qcow2-boot.json +++ b/test/data/manifests/rhel_90_beta-ppc64le-qcow2-boot.json @@ -1021,7 +1021,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1037,7 +1038,8 @@ "options": { "filename": "disk.img", "start": 10240, - "size": 20961180 + "size": 20961180, + "lock": true } } } diff --git a/test/data/manifests/rhel_90_beta-ppc64le-qcow2_customize-boot.json b/test/data/manifests/rhel_90_beta-ppc64le-qcow2_customize-boot.json index 92dee4a79..c0a34c245 100644 --- a/test/data/manifests/rhel_90_beta-ppc64le-qcow2_customize-boot.json +++ b/test/data/manifests/rhel_90_beta-ppc64le-qcow2_customize-boot.json @@ -1367,7 +1367,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1383,7 +1384,8 @@ "options": { "filename": "disk.img", "start": 10240, - "size": 20961180 + "size": 20961180, + "lock": true } } } diff --git a/test/data/manifests/rhel_90_beta-s390x-qcow2-boot.json b/test/data/manifests/rhel_90_beta-s390x-qcow2-boot.json index 5049d5195..ee9d13b35 100644 --- a/test/data/manifests/rhel_90_beta-s390x-qcow2-boot.json +++ b/test/data/manifests/rhel_90_beta-s390x-qcow2-boot.json @@ -1097,7 +1097,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1113,7 +1114,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 20969372 + "size": 20969372, + "lock": true } } } diff --git a/test/data/manifests/rhel_90_beta-s390x-qcow2_customize-boot.json b/test/data/manifests/rhel_90_beta-s390x-qcow2_customize-boot.json index ae40b2ae1..636bd6df4 100644 --- a/test/data/manifests/rhel_90_beta-s390x-qcow2_customize-boot.json +++ b/test/data/manifests/rhel_90_beta-s390x-qcow2_customize-boot.json @@ -1427,7 +1427,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1443,7 +1444,8 @@ "options": { "filename": "disk.img", "start": 2048, - "size": 20969372 + "size": 20969372, + "lock": true } } } diff --git a/test/data/manifests/rhel_90_beta-x86_64-ami-boot.json b/test/data/manifests/rhel_90_beta-x86_64-ami-boot.json index 934934770..154f2845a 100644 --- a/test/data/manifests/rhel_90_beta-x86_64-ami-boot.json +++ b/test/data/manifests/rhel_90_beta-x86_64-ami-boot.json @@ -1027,7 +1027,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1044,7 +1045,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 20967324 + "size": 20967324, + "lock": true } } } diff --git a/test/data/manifests/rhel_90_beta-x86_64-ec2-boot.json b/test/data/manifests/rhel_90_beta-x86_64-ec2-boot.json index af41c6d75..5e4895a3a 100644 --- a/test/data/manifests/rhel_90_beta-x86_64-ec2-boot.json +++ b/test/data/manifests/rhel_90_beta-x86_64-ec2-boot.json @@ -1043,7 +1043,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1060,7 +1061,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 20967324 + "size": 20967324, + "lock": true } } } diff --git a/test/data/manifests/rhel_90_beta-x86_64-ec2_ha-boot.json b/test/data/manifests/rhel_90_beta-x86_64-ec2_ha-boot.json index fd84ee8bf..7eed1b2c0 100644 --- a/test/data/manifests/rhel_90_beta-x86_64-ec2_ha-boot.json +++ b/test/data/manifests/rhel_90_beta-x86_64-ec2_ha-boot.json @@ -1237,7 +1237,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1254,7 +1255,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 20967324 + "size": 20967324, + "lock": true } } } diff --git a/test/data/manifests/rhel_90_beta-x86_64-ec2_sap-boot.json b/test/data/manifests/rhel_90_beta-x86_64-ec2_sap-boot.json index f2c9dfcd4..1de309d4b 100644 --- a/test/data/manifests/rhel_90_beta-x86_64-ec2_sap-boot.json +++ b/test/data/manifests/rhel_90_beta-x86_64-ec2_sap-boot.json @@ -1416,7 +1416,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "image.raw" + "filename": "image.raw", + "lock": true } } } @@ -1433,7 +1434,8 @@ "options": { "filename": "image.raw", "start": 4096, - "size": 20967324 + "size": 20967324, + "lock": true } } } diff --git a/test/data/manifests/rhel_90_beta-x86_64-openstack-boot.json b/test/data/manifests/rhel_90_beta-x86_64-openstack-boot.json index ce2318842..689a25de0 100644 --- a/test/data/manifests/rhel_90_beta-x86_64-openstack-boot.json +++ b/test/data/manifests/rhel_90_beta-x86_64-openstack-boot.json @@ -987,7 +987,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1003,7 +1004,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1020,7 +1022,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 8179612 + "size": 8179612, + "lock": true } } } diff --git a/test/data/manifests/rhel_90_beta-x86_64-qcow2-boot.json b/test/data/manifests/rhel_90_beta-x86_64-qcow2-boot.json index 6400eb674..f5a54abb1 100644 --- a/test/data/manifests/rhel_90_beta-x86_64-qcow2-boot.json +++ b/test/data/manifests/rhel_90_beta-x86_64-qcow2-boot.json @@ -995,7 +995,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1011,7 +1012,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1028,7 +1030,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 20762524 + "size": 20762524, + "lock": true } } } diff --git a/test/data/manifests/rhel_90_beta-x86_64-qcow2_customize-boot.json b/test/data/manifests/rhel_90_beta-x86_64-qcow2_customize-boot.json index 55211ba20..f3ea695ea 100644 --- a/test/data/manifests/rhel_90_beta-x86_64-qcow2_customize-boot.json +++ b/test/data/manifests/rhel_90_beta-x86_64-qcow2_customize-boot.json @@ -1352,7 +1352,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1368,7 +1369,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1385,7 +1387,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 20762524 + "size": 20762524, + "lock": true } } } diff --git a/test/data/manifests/rhel_90_beta-x86_64-vhd-boot.json b/test/data/manifests/rhel_90_beta-x86_64-vhd-boot.json index 987c6a890..bc2572431 100644 --- a/test/data/manifests/rhel_90_beta-x86_64-vhd-boot.json +++ b/test/data/manifests/rhel_90_beta-x86_64-vhd-boot.json @@ -986,7 +986,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -1002,7 +1003,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -1019,7 +1021,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 8179612 + "size": 8179612, + "lock": true } } } diff --git a/test/data/manifests/rhel_90_beta-x86_64-vmdk-boot.json b/test/data/manifests/rhel_90_beta-x86_64-vmdk-boot.json index b54294c6a..7c7c062ba 100644 --- a/test/data/manifests/rhel_90_beta-x86_64-vmdk-boot.json +++ b/test/data/manifests/rhel_90_beta-x86_64-vmdk-boot.json @@ -959,7 +959,8 @@ "device": { "type": "org.osbuild.loopback", "options": { - "filename": "disk.img" + "filename": "disk.img", + "lock": true } } } @@ -975,7 +976,8 @@ "options": { "filename": "disk.img", "start": 4096, - "size": 204800 + "size": 204800, + "lock": true } } } @@ -992,7 +994,8 @@ "options": { "filename": "disk.img", "start": 208896, - "size": 8179612 + "size": 8179612, + "lock": true } } }