Hi all,
We’re attempting to create user images to deploy with metal^3/ironic.
I’m making almost no headway starting from any of the examples provided for the DIB_BLOCK_DEVICE_CONFIG setup.
Is there a repository with practical values located anywhere? I’m finding the documentation insufficient to do anything more complicated than a single partition setup.
Here’s what I’ve gotten so far. Help greatly appreciated:
```
[
{
"local_loop": {
"name": "image0",
"size": "20GiB"
}
},
{
"partitioning": {
"base": "image0",
"label": "gpt",
"partitions": [
{
"name": "ESP",
"type": "EF00",
"size": "16MiB"
},
{
"name": "boot",
"type": "EF02",
"size": "6GiB"
},
{
"name": "lvm",
"type": 8,
"size": "100%"
}
]
}
},
{
"lvm": {
"name": "lvm2",
"pvs": [
{
"name": "pv",
"options": [
"--force"
],
"device": "lvm",
"base": "image0"
}
],
"vgs": [
{
"name": "vg",
"base": [
"pv"
],
"options": [
"--force"
]
}
],
"lvs": [
{
"name": "root",
"base": "vg",
"extents": "100%FREE",
"options": [
"--zero=n"
]
}
]
}
},
{
"mkfs": {
{
"name": "mkfs_root",
"base": "root",
"type": "btrfs",
"label": "root",
"opts": "-f",
"mount": { "mount_point": "/" }
},
{
"name": "mkfs_efi",
"base": "ESP",
"type": "vfat",
"label": "efi",
"opts": "-f",
"mount": { "mount_point": "/boot/efi/" }
},
{
"name": "mkfs_boot",
"base": "boot",
"type": "btrfs",
"label": "boot",
"opts": "-f",
"mount": { "mount_point": "/boot/" }
}
}
}
]
```