joefitzgerald / packer-windows

Windows Packer Templates
MIT License
1.63k stars 1.12k forks source link

New chocolatey installer #168

Closed MOZGIII closed 9 years ago

MOZGIII commented 9 years ago

The old one was broken, and a new one properly installs chocolatey to the system.

MOZGIII commented 9 years ago

Could we add chocolatey to Autounattend.xmls to be installed on the systems by deafult?

joefitzgerald commented 9 years ago

Could we add chocolatey to Autounattend.xmls to be installed on the systems by deafult?

No, I'd rather keep the image clean so that people can choose to use whatever provisioning technology they wish in the provisioners section of the packer .json file.

MOZGIII commented 9 years ago

I agree. Furthrmore I don't think installing chef by default is a good thing.

joefitzgerald commented 9 years ago

Furthrmore I don't think installing chef by default is a good thing.

I agree, we should remove this from the default .json files. We know it works.

MOZGIII commented 9 years ago

Yeah, there should be a single policy on installing tools like chef or chocolatey. But maybe we could make a generator that users would use to set up a custom .json with what they need? That would be even better for automation purposes. As I can see, there is support for a number of tools implemented. Better idea: maybe those tools should be extracted to another repo, along with a .json generator?

MOZGIII commented 9 years ago

By the way, I tried to install Visual Studio 2013 during provisioning phase, so that it would install updates on itself together with the rest windows system updates (in a single check). It doesn't work for some reason. But I guess it could be figured out and made simple for people. :) Still struggling though.