Hello guys,
I have googled about this, but in vain. Documentation is not clear on this.
I'm following the guide for installing on Bare metal, user provisioned infrastructure. Version 4.10.
On the install-config.yaml file can someone post an example of configuration of sshKey and pullSecret?
For ssKey i have tried:
- /root/.ssh/id_rsa
- ../.ssh/id_rda (path relative to the install dir)
- Pasting the entire ssh key.
For pullSecret, i have the file itselft on the same dir. Have tried some examples, but all fail. Can someone please post an example?
Replying to myself. Got the solution, so this might help whoever comes here by googling.
pullSecret should have the entire contents of the pull-secret file surroung by single quotes
Same for sshKey, should be done with the public ssh key. Stupidly, i was using the private...
So, examples:
pullSecret: '{"auths":{"cloud.openshift.com":{"auth":"b3BlbnNoaW ...(rest of the contents here) ... amdDQQ==","email":"user@example.com"}}}'
Notice the additional single quotes in the begginig and end.
sshKey: "ssh-rsa AAAAB3NzaC1yc2EAAA ...(rest of the contents here) ... ycUfrVpc="
Notice that the user part, root@hostname should be kept out. At least, it doesn't complain here
Replying to myself. Got the solution, so this might help whoever comes here by googling.
pullSecret should have the entire contents of the pull-secret file surroung by single quotes
Same for sshKey, should be done with the public ssh key. Stupidly, i was using the private...
So, examples:
pullSecret: '{"auths":{"cloud.openshift.com":{"auth":"b3BlbnNoaW ...(rest of the contents here) ... amdDQQ==","email":"user@example.com"}}}'
Notice the additional single quotes in the begginig and end.
sshKey: "ssh-rsa AAAAB3NzaC1yc2EAAA ...(rest of the contents here) ... ycUfrVpc="
Notice that the user part, root@hostname should be kept out. At least, it doesn't complain here
thank you.Saved me a lot of headache
Red Hat
Learning Community
A collaborative learning environment, enabling open source skill development.