The attempt to rename capsule server fails with error "sed: can't read /root/.hammer/cli.modules.d/*.yml: No such file or directory"
Issue
-
The
satellite-change-hostname
execution fails to rename the capsule server with the following error.updating hostname in hammer configuration sed: can't read /root/.hammer/cli.modules.d/*.yml: No such file or directory Failed 'sed -i.bak -e 's/capsule.example.com/newcapsule.example.com/g' /root/.hammer/cli.modules.d/*.yml' with exit code 2
Environment
- Red Hat Satellite Capsule 6.7 and above
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.