boxcutter / windows

Virtual machine templates for Windows written in legacy JSON and Batch Scripting/JScript
Apache License 2.0
753 stars 266 forks source link

[WIP] Quick example of using "licensed" to use the most recent licensed version of chef in script/cmtool.bat, yet by default use the most recent free version. #212

Closed arizvisa closed 4 years ago

arizvisa commented 4 years ago

By adding "licensed" to the comma-separated CM_OPTIONS field, this will result in omnitruck being queried for the most recent licensed version of chef. If "licensed" isn't defined, then by default omnitruck will be queried for the most recent free version of chef.

Do not merge this as-is as this will need to be documented, tested, and likely cleaned up a little.

arizvisa commented 4 years ago

Closing this PR as the original submitter of #202 prefers the CM_VERSION method of constraining the chef version and not the usage of CM_OPTIONS.