diff --git a/builds/linux/opensuse/leap-15-5/data/storage.pkrtpl.hcl b/builds/linux/opensuse/leap-15-5/data/storage.pkrtpl.hcl index 8fdf239..7320ebd 100644 --- a/builds/linux/opensuse/leap-15-5/data/storage.pkrtpl.hcl +++ b/builds/linux/opensuse/leap-15-5/data/storage.pkrtpl.hcl @@ -1,63 +1,87 @@ - - /dev/system - false - - - true - ext4 - false - root - / - device - false - false - 32199671808 - - 1 - 0 - - - true - swap - false - swap - swap - device - false - false - 2147483648 - - 1 - 0 - - - 4194304 - CT_LVM - /dev/${device} gpt +%{ for index, partition in partitions ~} true - false - 263 - 1 - false - 8388608 - - - true - false - system +%{ if partition.volume_group != "" ~} + ${partition.volume_group} 142 - 2 + false +%{ else ~} +%{ if partition.format.fstype == "swap" ~} + swap + 130 + true +%{ else ~} + false - 34350284288 + uuid +%{ endif ~} +%{ if partition.format.fstype == "fat32" ~} + vfat +%{ if partition.mount.path == "/boot/efi" ~} + 259 + utf8 +%{ else ~} + 12 +%{ endif ~} +%{ else ~} + ${partition.format.fstype} + 131 +%{ endif ~} + true + ${partition.mount.path} +%{ endif ~} +%{ if partition.size != -1 ~} + ${partition.size}M +%{ else ~} + max +%{ endif ~} + +%{ endfor ~} CT_DISK all +%{ for index, volume_group in lvm ~} + + /dev/${volume_group.name} + false + +%{ for partition in volume_group.partitions ~} + + true +%{ if partition.format.fstype == "swap" ~} + swap + swap +%{ else ~} + ${partition.format.fstype} + ${partition.mount.path} +%{ endif ~} + ${partition.name} + false + device + false + false +%{ if partition.mount.options != "" ~} + ${partition.mount.options} +%{ endif ~} +%{ if partition.size != -1 ~} + ${partition.size}M +%{ else ~} + max +%{ endif ~} + 1 + 0 + +%{ endfor ~} + + 4194304 + CT_LVM + +%{ endfor ~} \ No newline at end of file