stages/lvm2.create: fix 'size' and add 'extents'

The `size` option was using `-l`, which in fact was `--extents`.
Fix that to use `--size` and add a new option `extents` that
will in fact call translate to `--extents` and this replace the
current use of the `size` option.
Adapt the `fedora-ostree-image` test manifest to use `extents`.
This commit is contained in:
Christian Kellner 2021-11-03 09:31:22 +00:00 committed by Tom Gundersen
parent 493b1f9a1b
commit bd4ab1d36f
3 changed files with 22 additions and 5 deletions

View file

@ -1090,7 +1090,7 @@
"volumes": [
{
"name": "root",
"size": "100%FREE"
"extents": "100%FREE"
}
]
}

View file

@ -488,7 +488,7 @@
"volumes": [
{
"name": "root",
"size": "100%FREE"
"extents": "100%FREE"
}
]
}