Skip to content

Commit

Permalink
test: update config to match new rules
Browse files Browse the repository at this point in the history
Unattended + kickstart.contents is no longer allowed, so set unattended
to false.
  • Loading branch information
achilleas-k committed May 7, 2024
1 parent 26b6c3f commit b4a7ad7
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 32 deletions.
2 changes: 1 addition & 1 deletion test/config-map.json
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@
"image-installer"
]
},
"./configs/unattended-iso-userkickstart.json": {
"./configs/interactive-iso-userkickstart.json": {
"distros": [
"rhel-9.4"
],
Expand Down
22 changes: 22 additions & 0 deletions test/configs/interactive-iso-userkickstart.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"name": "interactive-iso-userkickstart",
"blueprint": {
"customizations": {
"locale": {
"languages": [
"en_GB.UTF-8"
],
"keyboard": "uk"
},
"timezone": {
"timezone": "Europe/Berlin"
},
"installer": {
"unattended": false,
"kickstart": {
"contents": "%post\n\necho \"=== Custom user kickstart ===\"\n\necho -e \"%sudo\\tALL=(ALL)\\tNOPASSWD: ALL\" > \"/etc/sudoers.d/%sudo\"\nchmod 0440 /etc/sudoers.d/%sudo\necho -e \"%wheel\\tALL=(ALL)\\tNOPASSWD: ALL\" > \"/etc/sudoers.d/%wheel\"\nchmod 0440 /etc/sudoers.d/%wheel\nrestorecon -rvF /etc/sudoers.d\n%end\n"
}
}
}
}
}
31 changes: 0 additions & 31 deletions test/configs/unattended-iso-userkickstart.json

This file was deleted.

0 comments on commit b4a7ad7

Please sign in to comment.