Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[chef-15] knife bootstrap ssh gives Train::PlatformDetectionFailed error if --connection-user is not provided. #8550
knife bootstrap with ssh gives the
I am running below command.
@Vasu1105 I tried to reproduce the issue but seems it is working as expected in latest chef infra
Also with build
What I see the problem here it behaves differently for the same scenarios. What I debug and understood is if --connection-user is not provided it uses root user to ssh the system. And it fails where login with root user is not enabled. The weird thing it gives different error for @vsingh-msys.
In Chef-14 it notifies user to use the specific login user rather than error out.