Error while bootstrapping Linux node with Chef

  • Hi,

    I am trying to bootstrap one of the Linux node with this command

    knife bootstrap 192.xx.xx.xx -x root -p xxxx -N mynode

    I am getting an error ERROR: Errno :: EHOSTUNREACH : No route to host - connect(2) for 192.xx.xx.xx

    I am a getting started guy in chef, if any solutions for this error greatly appreciated.


  • Found the solution right after posting in the forum.

    -p is for port number, Changed to -P and everything working fine

  • Service Provider

    Sorry that we weren't faster, but at least it got solved quickly! :)

  • Also, thank you for the followup. You never know when someone else will run into the same thing.

Log in to reply

Looks like your connection to MangoLassi was lost, please wait while we try to reconnect.