Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #24422 - k-c-h Check hostname is not current hostname
For katello-change-hostname, often times users will use hostnamectl to change the hostname before running k-c-h. This causes the script to error out and leaves things in a bad state. This commit adds a check that the hostname specified is different than the current system's hostname.
- Loading branch information
John Mitsch
committed
Jul 30, 2018
1 parent
74b28c9
commit fce9b2f
Showing
2 changed files
with
8 additions
and
3 deletions.
There are no files selected for viewing
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
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