Merge pull request #5146 from hashicorp/investigate_5142
quick patch to make ansible work again
This commit is contained in:
commit
8cfef76cdd
|
@ -71,10 +71,8 @@ func (c *communicator) Start(cmd *packer.RemoteCmd) (err error) {
|
|||
var wg sync.WaitGroup
|
||||
|
||||
if cmd.Stdin != nil {
|
||||
wg.Add(1)
|
||||
args.StdinStreamId = c.mux.NextId()
|
||||
go func() {
|
||||
defer wg.Done()
|
||||
serveSingleCopy("stdin", c.mux, args.StdinStreamId, nil, cmd.Stdin)
|
||||
}()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue