Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add profile for unattended installation with lvm #20859

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions data/yam/agama/auto/lvm_sle.jsonnet
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
{
"product": {
"id": "SLES_16.0"
},
"user": {
"fullName": "Bernhard M. Wiedemann",
"password": "$6$vYbbuJ9WMriFxGHY$gQ7shLw9ZBsRcPgo6/8KmfDvQ/lCqxW8/WnMoLCoWGdHO6Touush1nhegYfdBbXRpsQuy/FTZZeg7gQL50IbA/",
"hashedPassword": true,
"userName": "bernhard"
},
"root": {
"password": "$6$vYbbuJ9WMriFxGHY$gQ7shLw9ZBsRcPgo6/8KmfDvQ/lCqxW8/WnMoLCoWGdHO6Touush1nhegYfdBbXRpsQuy/FTZZeg7gQL50IbA/",
"hashedPassword": true
},
"storage": {
"guided": {
"target": {
"newLvmVg": [
"/dev/vda"
]
}
}
},
"scripts": {
"post": [
{
"name": "enable root login",
"chroot": true,
"body": |||
#!/usr/bin/env bash
zypper rm openssh-server-config-rootlogin
|||
}
]
}
}
14 changes: 14 additions & 0 deletions schedule/yam/agama_auto_lvm.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
name: agama unattended lvm
description: >
Perform agama auto installation with LVM.
schedule:
- yam/agama/boot_agama
- yam/agama/agama_auto
- installation/grub_test
- installation/first_boot
- console/validate_lvm
test_data:
crypttab:
num_devices_encrypted: 2
<<: !include test_data/yast/encryption/default_enc_luks2.yaml
Loading