-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(storage): config support to delete partitions (#1572)
Allow using *delete* and *deleteIfNeeded* for a partition section in the storage JSON config, according to the [auto_storage](https://github.com/openSUSE/agama/blob/master/doc/auto_storage.md) document. Notes about the schema: * *delete* and *deleteIfNeeded* cannot be set at the same time. * If *delete* is set, then *search* is mandatory and no other property is accepted. * If *deleteIfNeeded* is set, then *search* is mandatory and *size* is optional. No other property is accepted. Examples: * Delete a partition: ~~~json { "search": "/dev/vda", "delete": true } ~~~ * Delete a partition on demand: ~~~json { "search": "/dev/vda", "deleteIfNeeded": true } ~~~ * Resize or delete a partition on demand (resize is not implemenetd yet): ~~~json { "search": "/dev/vda", "size": { "min": 0 }, "deleteIfNeeded": true } ~~~
- Loading branch information
Showing
10 changed files
with
406 additions
and
51 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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
------------------------------------------------------------------- | ||
Wed Sep 4 08:55:29 UTC 2024 - José Iván López González <[email protected]> | ||
|
||
- Storage: add support for deleting partitions in the storage | ||
config (gh#openSUSE/agama#1572). | ||
|
||
------------------------------------------------------------------- | ||
Tue Sep 3 08:14:23 UTC 2024 - José Iván López González <[email protected]> | ||
|
||
|
Oops, something went wrong.