-
Notifications
You must be signed in to change notification settings - Fork 44
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 reuse file systems (#1575)
Allow using *reuseIfPossible* for a *filesystem* section in the storage JSON config. The [auto_storage](https://github.com/openSUSE/agama/blob/master/doc/auto_storage.md) document proposes to have a *reuse* property, but *reuseIfPossible* was used instead, see #1575 (review): If *reuseIfPossible* is true, then Agama will try to reuse the file system, if any. In that case, some other properties from the *filesystem* section would be ignored. Example: ~~~json { "search": "/dev/vda1", "filesystem": { "reuseIfPossible": true, "path": "/logs", "type": "xfs", "mkfsOptions": ["rw"] } } ~~~ The properties *type* and *mkfsOptions* would be considered by Agama only if the file system is not finally reused.
- Loading branch information
Showing
9 changed files
with
268 additions
and
46 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,9 @@ | ||
------------------------------------------------------------------- | ||
Thu Sep 5 17:35:04 UTC 2024 - José Iván López González <[email protected]> | ||
|
||
- Storage: add support for reusing file systems in the storage | ||
config (gh#openSUSE/agama#1575). | ||
|
||
------------------------------------------------------------------- | ||
Thu Sep 5 16:25:00 UTC 2024 - Lubos Kocman <[email protected]> | ||
|
||
|
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 |
---|---|---|
|
@@ -21,3 +21,8 @@ | |
- disk: | ||
name: "/dev/vdb" | ||
size: 50 GiB | ||
|
||
- disk: | ||
name: "/dev/vdc" | ||
size: 50 GiB | ||
file_system: "ext4" |
Oops, something went wrong.