-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
salt/volume: add support for non-formatted rawBlockDevice
We have to handle different cases here, the device path can points to: - a LVM volume: we have nothing to do (we'll use LVM UUID) - a disk partition (we make sure the partition's label is the volume UUID) - an entire disk: we create a GPT table and a single partition with the right label. Since the last case is the same as SparseLoopDeviceNoFormat, we factor out the common code into `prepare_noformat`. Refs: #2421 Signed-off-by: Sylvain Laperche <[email protected]>
- Loading branch information
1 parent
5e071c9
commit ad254f3
Showing
1 changed file
with
82 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters