action #179026
opencoordination #169654: [epic] Create test scenarios for Agama
Create unattended scenario with home encrypted and resizing
0%
Description
Motivation¶
We should cover also capabilities of profiles for resizing partition https://agama-project.github.io/docs/user/unattended/storage#deleting-and-shrinking-existing-devices and because changing size of default product partition to allocate a home is a perfect simple example of that we could even add a home encrypted, which is also a typical case in openSUSE.
The idea could be to try to run in all architectures after our existing sles_default_unattended
(where we will publish qcow2 or we will use START_DIRECTLY_AFTER_TEST) and that system will have / and swap with default sizes.
Then we will run unattended installation resizing both partition and allocating space for a new encrypted /home.
{
"storage": {
"drives": [
{
"search": "/dev/vda",
"partitions": [
{
"search": "/dev/vda2",
"filesystem": { "path": "/" },
"size": {
"min": "2 GiB",
"max": "current"
}
},
{
"search": "/dev/vda3",
"filesystem": { "path": "swap" },
"size": "1 GiB"
},
{
"filesystem": { "path": "/home" },
"encryption": {
"luks2": { "password": "12345" }
}
}
]
}
]
}
}
Acceptance criteria¶
- AC1: Create profile and test suite that can run in all architectures which create encrypted home and resize existing partitioning.
Updated by JERiveraMoya 7 days ago
- Assignee deleted (
hjluo)
Plenty to do here yet: https://github.com/os-autoinst/os-autoinst-distri-opensuse/pull/21442#issuecomment-2751008981
Unassigning ticket.