Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[release-ocm-2.8] MGMT-16843: Ensure valid hostname during install (#793
) Cherry pick of PR #788 https://issues.redhat.com/browse/MGMT-16843 Some processes during install time depend on the hostname and an invalid hostname (e.g. 'localhost', having capital letters, etc.) that could cause the install to fail. Extra validation is added when checking the hostname to ensure it is valid. A random hostname will be assigned if the current hostname is invalid.
- Loading branch information
1 parent
36c5af4
commit 16f99b2
Showing
4 changed files
with
225 additions
and
13 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
175 changes: 175 additions & 0 deletions
175
vendor/github.com/openshift/assisted-service/pkg/validations/validations.go
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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