Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
{
"type": "chef-solo",
"skip_install": true,
"prevent_sudo": false,
"execute_command": "echo 'vagrant' | {{ if .Sudo }}sudo -H -S -E{{ end }} chef-solo --no-color -c '{{ .ConfigPath }}' -j '{{ .JsonPath }}'",
"override": {
"generic-vmware": {
"execute_command": "echo 'ubuntu' | {{ if .Sudo }}sudo -H -S -E{{ end }} chef-solo --no-color -c '{{ .ConfigPath }}' -j '{{ .JsonPath }}'"
}
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment