Merge pull request #28 from pajamian/main

Katello Notes
This commit is contained in:
Neil Hanlon 2021-06-04 20:10:03 -04:00 committed by GitHub
commit a1a23bea8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 17 additions and 0 deletions

View File

@ -21,6 +21,16 @@ Running this script will convert an existing CentOS 8 system to Rocky Linux 8.
### Known Issues
#### Katello clashes
Katello installs its own repositories via subscription-manager that are meant to
replace the ones from CentOS, but it does not remove, or even disable, the
corresponding CentOS repositories. This would cause issues to a normal running
system, but it is especially problematic for migrate2rocky as it means that
migrate2rocky cannot properly determine which repositories to remove and
attempting to run migrate2rocky on a katello will likely result in a corrupted
system.
#### RHEL migrations show error messages during conversion
```

View File

@ -103,6 +103,12 @@ pkg_ver() (
return 0
)
pre_check () {
if [[ -e /etc/rhsm/ca/katello-server-ca.pem ]]; then
exit_message "Migration from Katello-modified systems is not supported by migrate2rocky."
fi
}
# All of the binaries used by this script are available in a EL8 minimal install
# and are in /bin, so we should not encounter a system where the script doesn't
# work unless it's severly broken. This is just a simple check that will cause
@ -673,6 +679,7 @@ if (( ! noopts )); then
usage
fi
pre_check
efi_check
bin_check