mirror of https://github.com/hashicorp/packer
RequestPty from crypto/ssh looks like this: func (s *Session) RequestPty(term string, h, w int, termmodes TerminalModes) error So arguments 2 and 3 are height and width, respectively. I'm not sure if the original was just a typo, or if there's an actual reason we want a 40 column terminal. Either way, having a terminal this narrow led me to a really "fun" bug[0], where `wget` in my shell provisioner scripts would segfault when trying to display the progress bar. [0] http://lists.gnu.org/archive/html/bug-wget/2016-02/msg00041.htmlpull/3422/head
parent
4f0f05fb8e
commit
0cea0e5c24
Loading…
Reference in new issue