Actions
Refactor #21056
closedmake katello-change-hostname more resilient when searching for media
Fixed in Releases:
Found in Releases:
Description
k-c-h currently uses "hammer medium list --search #{@old_hostname}" to find media using the old hostname, this will also find media that have the old hostname in the name (but not the path) and those that have the old hostname as part of the path, but not as the hostname.
I propose using "--search 'path ~ //#{@old_hostname}/'" instead
Actions