parted: Allow passing negative numbers to specify partition boundary relative to disk end (#129)

* Allow passing negative numbers to specify partition boundary relative to disk end
Fixes: https://github.com/ansible/ansible/issues/43369

* parted: unit test case, create partition with part_start: -1GiB

* fs_type parameter is not really optional for negative part_start parameter

* Revert "fs_type parameter is not really optional for negative part_start parameter"

This reverts commit 800b1cb00b.

Instead: added notes and documentation about netagive part_start and fs_type.

* include fs_type in negative part_start example
This commit is contained in:
Robert Osowiecki 2020-06-23 14:02:35 +02:00 committed by GitHub
commit ced14746a8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 33 additions and 5 deletions

View file

@ -0,0 +1,2 @@
minor_changes:
- "parted - accept negative numbers in ``part_start`` and ``part_end``"