github.com/openshift/installer@v1.4.17/pkg/hostcrypt/static.go (about) 1 //go:build !fipscapable 2 // +build !fipscapable 3 4 package hostcrypt 5 6 import "fmt" 7 8 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." 9 10 func allowFIPSCluster() error { 11 hostMsg := "" 12 if fipsEnabled, err := hostFIPSEnabled(); err != nil || !fipsEnabled { 13 hostMsg = " on a host with FIPS enabled" 14 } 15 return fmt.Errorf("use the FIPS-capable installer binary for RHEL 9%s.\n%s", 16 hostMsg, binaryInstructions) 17 }