Skip to content

Commit ed0f9f7

Browse files
Merge pull request os-autoinst#23705 from paolostivanin/p190830
Add sle16_staging_ext4root.jsonnet
2 parents 4c06d44 + 8c2c803 commit ed0f9f7

File tree

2 files changed

+75
-0
lines changed

2 files changed

+75
-0
lines changed
Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
local repo = '{{INCIDENT_REPO}}';
2+
local urls = std.split(repo, ',');
3+
{
4+
product: {
5+
id: '{{AGAMA_PRODUCT_ID}}',
6+
registrationCode: '{{SCC_REGCODE}}',
7+
addons: [
8+
{
9+
id: 'PackageHub',
10+
}
11+
]
12+
},
13+
bootloader: {
14+
stopOnBootMenu: true,
15+
},
16+
user: {
17+
fullName: 'Bernhard M. Wiedemann',
18+
password: '$6$vYbbuJ9WMriFxGHY$gQ7shLw9ZBsRcPgo6/8KmfDvQ/lCqxW8/WnMoLCoWGdHO6Touush1nhegYfdBbXRpsQuy/FTZZeg7gQL50IbA/',
19+
hashedPassword: true,
20+
userName: 'bernhard'
21+
},
22+
root: {
23+
password: '$6$vYbbuJ9WMriFxGHY$gQ7shLw9ZBsRcPgo6/8KmfDvQ/lCqxW8/WnMoLCoWGdHO6Touush1nhegYfdBbXRpsQuy/FTZZeg7gQL50IbA/',
24+
hashedPassword: true
25+
},
26+
storage: {
27+
drives: [
28+
{
29+
partitions: [
30+
{ search: '*', delete: true },
31+
{ generate: 'default' },
32+
{ filesystem: { path: '/', type: 'ext4' } },
33+
],
34+
},
35+
],
36+
},
37+
software: {
38+
packages: [],
39+
extraRepositories:
40+
if repo != '' then
41+
[
42+
{
43+
alias: 'TEST_' + std.toString(i),
44+
url: urls[i],
45+
allowUnsigned: true
46+
}
47+
for i in std.range(0, std.length(urls) -1)
48+
]
49+
else
50+
[],
51+
onlyRequired: false
52+
},
53+
questions: {
54+
policy: 'auto',
55+
answers: [
56+
{
57+
answer: 'Trust',
58+
class: 'software.import_gpg'
59+
}
60+
]
61+
},
62+
scripts: {
63+
post: [
64+
{
65+
name: 'enable sshd',
66+
chroot: true,
67+
content: |||
68+
#!/usr/bin/env bash
69+
systemctl enable sshd
70+
|||
71+
}
72+
]
73+
}
74+
}

schedule/security/sle16/agama_create_hdd_textmode_ext4_mok_enroll.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ schedule:
66
- yam/agama/agama_auto
77
- installation/grub_test
88
- installation/first_boot
9+
- console/zypper_lr
910
- security/mokutil_sign
1011
- console/system_prepare
1112
- console/hostname

0 commit comments

Comments
 (0)