|
|
|
|
@ -28,7 +28,7 @@ type guestOSTypeConfig struct {
|
|
|
|
|
var guestOSTypeConfigs = map[string]guestOSTypeConfig{
|
|
|
|
|
provisioner.UnixOSType: guestOSTypeConfig{
|
|
|
|
|
executeCommand: "{{if .Sudo}}sudo {{end}}chef-solo --no-color -c {{.ConfigPath}} -j {{.JsonPath}}",
|
|
|
|
|
installCommand: "curl -L https://omnitruck.chef.io/install.sh | {{if .Sudo}}sudo {{end}}bash",
|
|
|
|
|
installCommand: "curl -L https://omnitruck.chef.io/install.sh | {{if .Sudo}}sudo {{end}}bash",
|
|
|
|
|
stagingDir: "/tmp/packer-chef-client",
|
|
|
|
|
},
|
|
|
|
|
provisioner.WindowsOSType: guestOSTypeConfig{
|
|
|
|
|
|