diff --git a/test/config-map.json b/test/config-map.json index 1637edd9c8..fa828e32d8 100644 --- a/test/config-map.json +++ b/test/config-map.json @@ -331,5 +331,29 @@ "rhel-9.5", "rhel-10.0" ] + }, + "./configs/partitioning-plain.json": { + "image-types": [ + "ami" + ], + "distros": [ + "fedora*" + ] + }, + "./configs/partitioning-btrfs.json": { + "image-types": [ + "ami" + ], + "distros": [ + "fedora*" + ] + }, + "./configs/partitioning-lvm.json": { + "image-types": [ + "ami" + ], + "distros": [ + "fedora*" + ] } } diff --git a/test/configs/partitioning-btrfs.json b/test/configs/partitioning-btrfs.json new file mode 100644 index 0000000000..c6ff8feb9a --- /dev/null +++ b/test/configs/partitioning-btrfs.json @@ -0,0 +1,54 @@ +{ + "name": "partitioning-btrfs", + "blueprint": { + "customizations": { + "disk": { + "partitions": [ + { + "type": "xfs", + "mountpoint": "/data", + "minsize": 1073741824 + }, + { + "type": "btrfs", + "minsize": "10 GiB", + "subvolumes": [ + { + "name": "subvol-home", + "mountpoint": "/home" + }, + { + "name": "subvol-shadowman", + "mountpoint": "/home/shadowman" + }, + { + "name": "subvol-foo", + "mountpoint": "/foo" + }, + { + "name": "subvol-usr", + "mountpoint": "/usr" + }, + { + "name": "subvol-opt", + "mountpoint": "/opt" + }, + { + "name": "subvol-media", + "mountpoint": "/media" + }, + { + "name": "subvol-root", + "mountpoint": "/root" + }, + { + "name": "subvol-srv", + "mountpoint": "/srv" + } + ] + } + ] + } + } + } +} diff --git a/test/configs/partitioning-lvm.json b/test/configs/partitioning-lvm.json new file mode 100644 index 0000000000..c8d9e88ba6 --- /dev/null +++ b/test/configs/partitioning-lvm.json @@ -0,0 +1,65 @@ +{ + "name": "partitioning-lvm", + "blueprint": { + "customizations": { + "disk": { + "partitions": [ + { + "mountpoint": "/data", + "minsize": "1 GiB", + "label": "data", + "fs_type": "ext4" + }, + { + "type": "lvm", + "name": "testvg", + "minsize": 10737418240, + "logical_volumes": [ + { + "name": "homelv", + "mountpoint": "/home", + "label": "home", + "minsize": "2 GiB" + }, + { + "name": "shadowmanlv", + "mountpoint": "/home/shadowman", + "minsize": "5 GiB" + }, + { + "name": "foolv", + "mountpoint": "/foo", + "minsize": "1 GiB" + }, + { + "name": "usrlv", + "mountpoint": "/usr", + "minsize": "4 GiB" + }, + { + "name": "optlv", + "mountpoint": "/opt", + "minsize": 1073741824 + }, + { + "name": "medialv", + "mountpoint": "/media", + "minsize": 1073741824 + }, + { + "name": "roothomelv", + "mountpoint": "/root", + "minsize": "1 GiB" + }, + { + "name": "srvlv", + "mountpoint": "/srv", + "minsize": 1073741824 + } + ] + } + ] + } + } + } +} diff --git a/test/configs/partitioning-plain.json b/test/configs/partitioning-plain.json new file mode 100644 index 0000000000..791e027f73 --- /dev/null +++ b/test/configs/partitioning-plain.json @@ -0,0 +1,54 @@ +{ + "name": "partitioning-plain", + "blueprint": { + "customizations": { + "disk": { + "partitions": [ + { + "mountpoint": "/data", + "fs_type": "ext4", + "minsize": 1073741824 + }, + { + "mountpoint": "/home", + "label": "home", + "fs_type": "ext4", + "minsize": 2147483648 + }, + { + "mountpoint": "/home/shadowman", + "fs_type": "ext4", + "minsize": 524288000 + }, + { + "mountpoint": "/foo", + "fs_type": "ext4", + "minsize": 1073741824 + }, + { + "mountpoint": "/var", + "fs_type": "xfs", + "minsize": 4294967296 + }, + { + "mountpoint": "/opt", + "minsize": 1073741824 + }, + { + "mountpoint": "/media", + "minsize": 1073741824 + }, + { + "mountpoint": "/root", + "minsize": 1073741824 + }, + { + "mountpoint": "/srv", + "fs_type": "xfs", + "minsize": 1073741824 + } + ] + } + } + } +}