chef / knife-windows

Plugin for Chef's knife tool for working with Windows nodes
Apache License 2.0
152 stars 110 forks source link

bootstraping windows 10 from ubuntu #521

Closed pagareajay11 closed 1 year ago

pagareajay11 commented 1 year ago

Version:

[Version of the project installed]

Environment:

ubuntu 20.04 windows 10

Scenario:

Bootstraping the windows 10 as a node from the ubuntu 20.04 chef workstation.

Expected Result:

Should bootstrap the node

Actual Result:

FATAL: knife windows bootstrap winrm Core Chef now supports bootstrapping Windows systems without a knife plugin

Use 'knife bootstrap -o winrm' instead.

For more detail https://github.com/chef/chef/blob/master/RELEASE_NOTES.md#knife-bootstrap

vkarve-chef commented 1 year ago

@pagareajay11 can you please try out the command suggested in the error message? please let us know how that goes.

pagareajay11 commented 1 year ago

@vkarve-chef i tried the command the issue is solved now thanks

pagareajay11 commented 1 year ago

this command worked for me . knife bootstrap -o winrm ip-address --winrm-user user1 --winrm-password "password" --node-name "windows1"