Skip to content

Commit f338284

Browse files
committed
chore: remove ssh_skip_request_pty
Removes `ssh_skip_request_pty` per comment: ``` // These are deprecated, but we keep them around for BC // TODO(@mitchellh): remove" ``` Signed-off-by: Ryan Johnson <[email protected]>
1 parent 330dc55 commit f338284

File tree

3 files changed

+0
-11
lines changed

3 files changed

+0
-11
lines changed

builder/vmware/common/ssh_config.go

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,9 @@ import (
1212

1313
type SSHConfig struct {
1414
Comm communicator.Config `mapstructure:",squash"`
15-
16-
// These are deprecated, but we keep them around for BC
17-
// TODO(@mitchellh): remove
18-
SSHSkipRequestPty bool `mapstructure:"ssh_skip_request_pty"`
1915
}
2016

2117
func (c *SSHConfig) Prepare(ctx *interpolate.Context) []error {
22-
if c.SSHSkipRequestPty {
23-
c.Comm.SSHPty = false
24-
}
2518

2619
return c.Comm.Prepare(ctx)
2720
}

builder/vmware/iso/config.hcl2spec.go

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

builder/vmware/vmx/config.hcl2spec.go

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)