0
votes

We have strict requirement where "No internet connection is allowed", and one more "Only tested and approved software can be installed". knife ec2 server create comand downloads chef-client.msi from opscode web site. I saw that knife windows plugin let use custom URL to specify location from where to get msi. AFAIK ec2 plugin has its own bootstrap logic. How to bootstrap Windows instance using knife ec2 server create and specify location of chef-client.msi?

1

1 Answers

0
votes

There is a --msi-url option to control where to download the MSI from. You can also make your own custom bootstrap template if you need even more control. Relevant code https://github.com/chef/knife-ec2/blob/master/lib/chef/knife/ec2_server_create.rb#L747