Skip to content

Commit

Permalink
Cobbler authentication endpoint property name fix
Browse files Browse the repository at this point in the history
The cobbler authentication should be named
uyuni_authentication_endpoint. A remnant from old code was lingering and
broke migration and upgrade.
  • Loading branch information
cbosdo committed Apr 16, 2024
1 parent fc740e3 commit 16090c5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion mgradm/shared/templates/postUpgradeScriptTemplate.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ grep uyuni_authentication_endpoint /etc/cobbler/settings.yaml
if [ $? -eq 1 ]; then
echo 'uyuni_authentication_endpoint: "http://localhost"' >> /etc/cobbler/settings.yaml
else
sed 's/uyuni_authentication_endpoint.*/spacewalk_authentication_endpoint: http:\/\/localhost/' -i /etc/cobbler/settings.yaml;
sed 's/uyuni_authentication_endpoint.*/uyuni_authentication_endpoint: http:\/\/localhost/' -i /etc/cobbler/settings.yaml;
fi
{{ end }}
`
Expand Down
2 changes: 2 additions & 0 deletions uyuni-tools.changes.cbosdo.migration_fix
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
- Fix wrong cobbler spacewalk_authentication_endpoint property
after upgrade or migration
- Fix migration script using awk missing in migration image

0 comments on commit 16090c5

Please sign in to comment.