Skip to content

Commit

Permalink
Add profile for unattended installation with lvm
Browse files Browse the repository at this point in the history
Add profile for unattended installation with lvm.
  • Loading branch information
chcao committed Dec 23, 2024
1 parent b2a1e8f commit d0d632a
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 0 deletions.
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

0 comments on commit d0d632a

Please sign in to comment.