I want to use my custom bootstrap template file for a Windows bootstrap. What is the correct option in chef-client v12.0.3?
If I do knife bootstrap –help, I get
--template-file TEMPLATE Full path to location of template to use. [DEPRECATED] Use -t / --bootstrap-template option instead.
So I do
knife bootstrap windows winrm 'mynode.domain.com' -x "Administrator" -P "password" -p 5985 --bootstrap-template .chef/bootstrap/sslfix_windows-chef-client-msi.erb
Error: invalid option: --bootstrap-template
If I do
knife bootstrap windows winrm 'mynode.domain.com' -x "Administrator" -P "password" -p 5985 -–template-file .chef/bootstrap/sslfix_windows-chef-client-msi.erb
I don’t see my custom template being run (I don’t see echo statements I added)
Any clues?
Chris
Archive powered by MHonArc 2.6.16.