Last active
January 18, 2023 10:27
-
-
Save sayan3296/1116f63692e6a7299d981fffd96faf77 to your computer and use it in GitHub Desktop.
Reproduce the same issue as case 03291784
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
## Assuming satellite 6.10 is installed with organization name RedHat and a manifest with valid rhel sub has been imported. | |
## No repositories are enabled at this stage. | |
find /root/ssl-build -name "*.rpm" | egrep -v "katello-" > /tmp/rpms_to_corrupt | |
for i in `cat /tmp/rpms_to_corrupt`; do if [ -f $i ]; then sed -i '1d' $i; else echo "$i does not exists"; fi; done | |
rm -f /tmp/rpms_to_corrupt | |
sed -i 's/^ regenerate: false/ regenerate: true/g' /etc/foreman-installer/scenarios.d/satellite-answers.yaml | |
echo "Done" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Error:
Investigation:
Solution: