Matthew Hooker
5d48d658b4
Wire context through misc steps
...
Some steps actually need to pass the context around, so let's create
a ctx variable and pass it.
2018-01-24 17:09:17 -08:00
Matthew Hooker
7a189a83a1
fix imports
...
`find . -type f -name '*.go' -not -path "./vendor/*" -exec goimports -w {} \;`
2018-01-24 17:09:17 -08:00
Matthew Hooker
a831d522be
change run signatures
...
Run now takes a context as well as a statebag. We'll assign the context
to the blank identifier to prevent namespace collisions. We'll let the
step authors opt-in to using the context.
`find . -iname "step_*.go" -exec gsed -i'' 's/func \(.*\)Run(/func \1Run(_ context.Context, /' {} \;`
2018-01-24 17:09:17 -08:00
Matthew Hooker
366dc3da0a
move multistep imports to helper.
...
gomvpkg -from "github.com/mitchellh/multistep" -to "github.com/hashicorp/packer/helper/multistep"
2018-01-24 17:09:15 -08:00
Matthew Hooker
81522dced0
move packer to hashicorp
2017-04-04 13:39:01 -07:00
Taliesin Sisson
335615408a
Run go fmt on files
2016-12-12 22:45:19 +00:00
Taliesin Sisson
bd0b1190f6
When redirecting local ports to hyper visor ports we need to configure WinRM ports as well as SSH ports.
2016-12-12 22:44:09 +00:00
Chris Bednarski
569e6cc464
go fmt
2016-02-08 17:34:06 -08:00
Evan Powell
bb8ced8cc9
Implement a null-object communicator for 'none'
...
Fixes #2736
2015-10-20 17:00:48 -05:00
Gonzalo Peci
88ebc2f7e8
Add s.SSHPort variable as the port WinRM uses to connect. This is needed on any builder where the port used to connect is not the guest winrm port but a nated port on the host.
...
Similar behavior is used by the SSH communicator.
2015-07-27 09:57:38 +12:00
Mitchell Hashimoto
cab2665119
builder/docker: support custom communicators
2015-06-14 22:09:38 -07:00
Mitchell Hashimoto
4be10b428a
helper/communicator: hook up WinRM
2015-06-13 22:07:17 -07:00
Mitchell Hashimoto
115d583cff
helper/communicator: make host more generic
2015-06-13 19:23:33 -04:00
Mitchell Hashimoto
4b4fe2280d
helper/communicator: can be disabled
2015-06-13 17:50:45 -04:00
Mitchell Hashimoto
4b3ed5d7e2
helper/communicator
2015-06-13 17:42:38 -04:00