Which section(s) is the issue in?
In Creating an RHCOS images cache (optional), 5. Get the commit ID from the installer. The ID determines which images the installer needs to download.
What needs fixing?
The command will fail because the file openshift-baremetal-install has not been copied to /usr/local/bin in the previous steps.
[kni@provisioner ~]$ export COMMIT_ID=$(/usr/local/bin/openshift-baremetal-install version | grep '^built from commit' | awk '{print $4}')
-bash: /usr/local/bin/openshift-baremetal-install: No such file or directory
Workaround
Copy openshift-baremetal-install to /usr/local/bin before command (maybe this should be done in Extracting the OpenShift Container Platform installer):
[kni@provisioner ~]$ sudo cp ./openshift-baremetal-install /usr/local/bin/
[kni@provisioner ~]$ export COMMIT_ID=$(./openshift-baremetal-install version | grep '^built from commit' | awk '{print $4}')
-bash: /usr/local/bin/openshift-baremetal-install: No such file or directory
Or, use openshift-baremetal-install in current directory:
[kni@provisioner ~]$ export COMMIT_ID=$(./openshift-baremetal-install version | grep '^built from commit' | awk '{print $4}')
-bash: /usr/local/bin/openshift-baremetal-install: No such file or directory
Which section(s) is the issue in?
In Creating an RHCOS images cache (optional), 5. Get the commit ID from the installer. The ID determines which images the installer needs to download.
What needs fixing?
The command will fail because the file
openshift-baremetal-installhas not been copied to/usr/local/binin the previous steps.Workaround
Copy
openshift-baremetal-installto/usr/local/binbefore command (maybe this should be done in Extracting the OpenShift Container Platform installer):Or, use
openshift-baremetal-installin current directory: