Commit https://github.com/vyos/vyos-1x/commit/deed5740137032f5512f21d167af9f362922c71d introduced the vyos.util.cmd() utility helper.
If an empty disk is formatted like an existing array disk, an error is thrown as the disk has no partition table. This makes cmd() fail as it raises an error if returncode != 0
Description
Description
Details
Details
- Version
- 1.3.0-epa1
- Is it a breaking change?
- Perfectly compatible
- Issue type
- Bug (incorrect behavior)
Related Objects
Related Objects
- Mentioned In
- rVYOSONEXe87a1c836415: op-mode: disk: T4045: bugfix "format disk <new> like <old>"
rVYOSONEXe151c113e9e7: op-mode: disk: T4045: cleanup code to use python f'ormat strings
rVYOSONEX4207b4c26431: op-mode: disk: T4045: bugfix "format disk <new> like <old>"
rVYOSONEX467eb1f18ec9: op-mode: disk: T4045: cleanup code to use python f'ormat strings