mirror of
https://github.com/hashicorp/packer.git
synced 2026-10-04 05:33:17 -04:00
helper/communicator: allow docker custom communicator
This commit is contained in:
@@ -65,7 +65,7 @@ func (c *Config) Prepare(ctx *interpolate.Context) []error {
|
||||
if es := c.prepareWinRM(ctx); len(es) > 0 {
|
||||
errs = append(errs, es...)
|
||||
}
|
||||
case "none":
|
||||
case "docker", "none":
|
||||
break
|
||||
default:
|
||||
return []error{fmt.Errorf("Communicator type %s is invalid", c.Type)}
|
||||
|
||||
Reference in New Issue
Block a user