diff options
author | Conrad Hoffmann <1226676+bitfehler@users.noreply.github.com> | 2020-01-14 21:27:59 +0100 |
---|---|---|
committer | Daniel Watkins <oddbloke@ubuntu.com> | 2020-01-14 15:27:59 -0500 |
commit | bb4131a2bd36d9e8932fdcb61432260f16159cde (patch) | |
tree | be3501e7efbdfe21d221e4d221120f88ebdbba62 /tests/cloud_tests/config.py | |
parent | 863394ba0b5f18483b350daec30af8434be8811b (diff) | |
download | vyos-cloud-init-bb4131a2bd36d9e8932fdcb61432260f16159cde.tar.gz vyos-cloud-init-bb4131a2bd36d9e8932fdcb61432260f16159cde.zip |
Only use gpart if it is the BSD gpart (#131)
Currently, cloud-init will happily try to run `gpart` on Linux even
though on most distributions this a different tool [1]. Extend the
availability check to make sure the `gpart` present is really the BSD
variant, to avoid accidental execution.
Also add a pointer to the docs, so that people do not try to install
gpart on Linux in the expectation it will work with this module.
[1] https://github.com/baruch/gpart
Diffstat (limited to 'tests/cloud_tests/config.py')
0 files changed, 0 insertions, 0 deletions