diff --git a/test/config-map.json b/test/config-map.json index e97d02ee45..c1772cd58e 100644 --- a/test/config-map.json +++ b/test/config-map.json @@ -364,5 +364,14 @@ "rhel-10*", "rhel-9*" ] + }, + "./configs/partitioning-dos-lvm.json": { + "image-types": [ + "ami" + ], + "distros": [ + "centos-10", + "centos-9" + ] } } diff --git a/test/configs/partitioning-dos-lvm.json b/test/configs/partitioning-dos-lvm.json new file mode 100644 index 0000000000..891b38f719 --- /dev/null +++ b/test/configs/partitioning-dos-lvm.json @@ -0,0 +1,73 @@ +{ + "name": "partitioning-dos-lvm", + "blueprint": { + "customizations": { + "disk": { + "type": "dos", + "partitions": [ + { + "type": "lvm", + "name": "testvg", + "minsize": 10737418240, + "logical_volumes": [ + { + "name": "homelv", + "mountpoint": "/home", + "label": "home", + "fs_type": "ext4", + "minsize": "2 GiB" + }, + { + "name": "shadowmanlv", + "mountpoint": "/home/shadowman", + "fs_type": "ext4", + "minsize": "5 GiB" + }, + { + "name": "foolv", + "mountpoint": "/foo", + "fs_type": "ext4", + "minsize": "1 GiB" + }, + { + "name": "usrlv", + "mountpoint": "/usr", + "fs_type": "ext4", + "minsize": "4 GiB" + }, + { + "name": "optlv", + "mountpoint": "/opt", + "fs_type": "ext4", + "minsize": 1073741824 + }, + { + "name": "medialv", + "mountpoint": "/media", + "fs_type": "ext4", + "minsize": 1073741824 + }, + { + "name": "roothomelv", + "mountpoint": "/root", + "fs_type": "ext4", + "minsize": "1 GiB" + }, + { + "name": "srvlv", + "mountpoint": "/srv", + "fs_type": "ext4", + "minsize": 1073741824 + }, + { + "name": "swap-lv", + "fs_type": "swap", + "minsize": "1 GiB" + } + ] + } + ] + } + } + } +} diff --git a/test/configs/partitioning-lvm.json b/test/configs/partitioning-lvm.json index 22e525be7d..dcfd955864 100644 --- a/test/configs/partitioning-lvm.json +++ b/test/configs/partitioning-lvm.json @@ -3,6 +3,7 @@ "blueprint": { "customizations": { "disk": { + "type": "gpt", "partitions": [ { "mountpoint": "/data",