Skip to content

Commit

Permalink
hostcrypt: update fips instructions to rhel9
Browse files Browse the repository at this point in the history
Update the warning message to say rhel9 instead of rhel8.
  • Loading branch information
r4f4 committed Apr 22, 2024
1 parent 581c781 commit f87deff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/hostcrypt/static.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ package hostcrypt

import "fmt"

const binaryInstructions = "To obtain a suitable binary, download the openshift-install-rhel8 archive from the client mirror, or extract the openshift-install-fips command from the release payload."
const binaryInstructions = "To obtain a suitable binary, download the openshift-install-rhel9 archive from the client mirror, or extract the openshift-install-fips command from the release payload."

func allowFIPSCluster() error {
hostMsg := ""
if fipsEnabled, err := hostFIPSEnabled(); err != nil || !fipsEnabled {
hostMsg = " on a host with FIPS enabled"
}
return fmt.Errorf("use the FIPS-capable installer binary for RHEL 8%s.\n%s",
return fmt.Errorf("use the FIPS-capable installer binary for RHEL 9%s.\n%s",
hostMsg, binaryInstructions)
}

0 comments on commit f87deff

Please sign in to comment.