Merge pull request #5146 from hashicorp/investigate_5142

quick patch to make ansible work again
This commit is contained in:
Megan Marsh 2017-07-19 13:34:26 -07:00 committed by GitHub
commit 8cfef76cdd
1 changed files with 0 additions and 2 deletions

View File

@ -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)
}()
}