Project

General

Profile

Actions

action #179026

open

coordination #169654: [epic] Create test scenarios for Agama

Create unattended scenario with home encrypted and resizing

Added by JERiveraMoya 15 days ago. Updated 7 days ago.

Status:
Workable
Priority:
High
Assignee:
-
Target version:
-
Start date:
2025-03-17
Due date:
% Done:

0%

Estimated time:

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.
Actions #1

Updated by hjluo 8 days ago

  • Status changed from Workable to In Progress
  • Assignee set to hjluo
Actions #2

Updated by JERiveraMoya 7 days ago

  • Status changed from In Progress to Workable
Actions #3

Updated by JERiveraMoya 7 days ago

  • Assignee deleted (hjluo)
Actions

Also available in: Atom PDF