-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
4.12.z
-
No
-
False
-
-
N/A
-
Release Note Not Required
Description of problem:
In step 12 and 13, the script to create the install-config.yaml and agent-config.yaml file does not work. 1. here-doc EOF at the end of the script is not in column 1, but indented, so it does not actually save the doc and return to the command line. The user needs to enter "EOF" in column 1 to save the file, and get back to the command prompt. 2. The here-doc assumes there is a directory call my-cluster,
cat << EOF > ./my-cluster/install-config.yaml
which may not conform to the user's naming convention. Just drop the directory, and create it in the current directory.
Version-Release number of selected component (if applicable):
How reproducible:
always
Steps to Reproduce:
1. click the copy script icon in the top of the 2. paste the script into your command line.
Actual results:
1. script is not saved, because EOF is incorrect. 2. when user enters "EOF", script fails because "my-cluster" directory dows not exist.
Expected results:
the pasted install-config.yaml is created in local directory.
Additional info:
I've seen this "EOF" problem before in other OCP doc scripts, it's likely broken on other pages.