Merge pull request #3422 from alexpbrown/swap-pty-geometry

Swap width and height when allocating a pty
This commit is contained in:
Chris Bednarski 2016-04-06 14:17:46 -07:00
commit 9f6de246c2
1 changed files with 1 additions and 1 deletions

View File

@ -94,7 +94,7 @@ func (c *comm) Start(cmd *packer.RemoteCmd) (err error) {
ssh.TTY_OP_OSPEED: 14400, // output speed = 14.4kbaud
}
if err = session.RequestPty("xterm", 80, 40, termModes); err != nil {
if err = session.RequestPty("xterm", 40, 80, termModes); err != nil {
return
}
}