-
Notifications
You must be signed in to change notification settings - Fork 277
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20190 from manfredi/issues-166133
Create Agama installation for full encryption
- Loading branch information
Showing
3 changed files
with
33 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
--- | ||
name: agama | ||
description: > | ||
Perform full disk encryption installation with agama. | ||
schedule: | ||
- yam/agama/boot_agama | ||
- yam/agama/import_agama_profile | ||
- yam/agama/patch_agama_tests | ||
- yam/agama/agama | ||
- installation/grub_test | ||
- installation/boot_encrypt | ||
- installation/first_boot | ||
- console/validate_encrypt |
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,19 @@ | ||
## Copyright 2024 SUSE LLC | ||
# SPDX-License-Identifier: GPL-2.0-or-later | ||
|
||
# Summary: Run Agama profile import on Live Medium | ||
# Maintainer: QE YaST and Migration (QE Yam) <qe-yam at suse de> | ||
|
||
use base Yam::Agama::patch_agama_base; | ||
use strict; | ||
use warnings; | ||
use testapi qw(assert_script_run data_url get_required_var select_console); | ||
|
||
sub run { | ||
select_console 'root-console'; | ||
my $profile = get_required_var('AGAMA_PROFILE'); | ||
my $profile_url = data_url($profile); | ||
assert_script_run("/usr/bin/agama profile import $profile_url", timeout => 300); | ||
} | ||
|
||
1; |
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