elemental-toolkit
elemental-toolkit copied to clipboard
Improve sizes in config
In the following config it's hard to know what "size" represents without the comment.
install:
# size in MiB
partitions:
oem:
label: COS_OEM
size: 60
fs: ext4
I think we should use something like https://github.com/docker/go-units to parse sizes instead, making the config look like this:
install:
partitions:
oem:
label: COS_OEM
size: 60MiB
fs: ext4
Also this must be backwards-compatible and parse in MiB if no unit is specified.