cancel
Showing results for 
Search instead for 
Did you mean: 
FS3
Mission Specialist
Mission Specialist
  • 1,422 Views

How to configure sshKey and pullSecret in the install-config.yaml?

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?

Labels (4)
1 Reply
FS3
Mission Specialist
Mission Specialist
  • 1,405 Views

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

 

Join the discussion
You must log in to join this conversation.