Closed Badgerati closed 7 years ago
This allows the installation of software from Chocolatey as described above, but it also has some extra features:
To override choco software at the VM template level:
{
"provisioners": [
"general-software: git.install, notepadplusplus"
]
}
To pass arguments to custom script:
{
"provisioners": [
"dir: create|C:\\Logs\\MyLogs"
]
}
Which will pass "create"
and "C:\Logs\MyLogs"
Create a new type of provisioner for installing software via Chocolatey. In principle this will just be a Custom Script, but instead of initialising it with a script path you pass it a comma-separated list of software names:
When the
general-software
provisioner is used on a VM, it will now install 7-Zip, VS Code v1.12.2 and NodeJs on that VM via Chocolatey.