-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
test: add a test config with dos partition table
Add a new test config with a dos partition table type. This is a copy of the LVM test config with the extra /data partition removed to make it valid (max 4 partitions). Only test on CentOS 9 and 10 to avoid growing the test cases by too much.
- Loading branch information
1 parent
181cd79
commit 25ac080
Showing
3 changed files
with
83 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"name": "partitioning-dos-lvm", | ||
"blueprint": { | ||
"customizations": { | ||
"disk": { | ||
"type": "dos", | ||
"partitions": [ | ||
{ | ||
"type": "lvm", | ||
"name": "testvg", | ||
"minsize": 10737418240, | ||
"logical_volumes": [ | ||
{ | ||
"name": "homelv", | ||
"mountpoint": "/home", | ||
"label": "home", | ||
"fs_type": "ext4", | ||
"minsize": "2 GiB" | ||
}, | ||
{ | ||
"name": "shadowmanlv", | ||
"mountpoint": "/home/shadowman", | ||
"fs_type": "ext4", | ||
"minsize": "5 GiB" | ||
}, | ||
{ | ||
"name": "foolv", | ||
"mountpoint": "/foo", | ||
"fs_type": "ext4", | ||
"minsize": "1 GiB" | ||
}, | ||
{ | ||
"name": "usrlv", | ||
"mountpoint": "/usr", | ||
"fs_type": "ext4", | ||
"minsize": "4 GiB" | ||
}, | ||
{ | ||
"name": "optlv", | ||
"mountpoint": "/opt", | ||
"fs_type": "ext4", | ||
"minsize": 1073741824 | ||
}, | ||
{ | ||
"name": "medialv", | ||
"mountpoint": "/media", | ||
"fs_type": "ext4", | ||
"minsize": 1073741824 | ||
}, | ||
{ | ||
"name": "roothomelv", | ||
"mountpoint": "/root", | ||
"fs_type": "ext4", | ||
"minsize": "1 GiB" | ||
}, | ||
{ | ||
"name": "srvlv", | ||
"mountpoint": "/srv", | ||
"fs_type": "ext4", | ||
"minsize": 1073741824 | ||
}, | ||
{ | ||
"name": "swap-lv", | ||
"fs_type": "swap", | ||
"minsize": "1 GiB" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
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 |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
"blueprint": { | ||
"customizations": { | ||
"disk": { | ||
"type": "gpt", | ||
"partitions": [ | ||
{ | ||
"mountpoint": "/data", | ||
|