unikraft / kraftkit

Build and use highly customized and ultra-lightweight unikernel VMs.
https://unikraft.org/docs/cli
BSD 3-Clause "New" or "Revised" License
203 stars 61 forks source link

feat(internal): Allow for specifying optional measurement units #1687

Open craciunoiuc opened 3 weeks ago

craciunoiuc commented 3 weeks ago

Prerequisite checklist

Description of changes

The value is then converted to mebibytes by deviding the integer by 1024*1024. If something like ~3.2Mi are specified, the value will be truncated down to 3Mi.

GitHub-Closes: #1513

craciunoiuc commented 3 weeks ago

If this looks ok I can do it also for volumes

Edit: Done