Skip to content

Commit

Permalink
chore: remove ssh_skip_request_pty
Browse files Browse the repository at this point in the history
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 <ryan@tenthirtyam.org>
  • Loading branch information
tenthirtyam committed Jul 8, 2024
1 parent 330dc55 commit f338284
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
7 changes: 0 additions & 7 deletions builder/vmware/common/ssh_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,9 @@ import (

type SSHConfig struct {
Comm communicator.Config `mapstructure:",squash"`

// These are deprecated, but we keep them around for BC
// TODO(@mitchellh): remove
SSHSkipRequestPty bool `mapstructure:"ssh_skip_request_pty"`
}

func (c *SSHConfig) Prepare(ctx *interpolate.Context) []error {
if c.SSHSkipRequestPty {
c.Comm.SSHPty = false
}

return c.Comm.Prepare(ctx)
}
2 changes: 0 additions & 2 deletions builder/vmware/iso/config.hcl2spec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions builder/vmware/vmx/config.hcl2spec.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f338284

Please sign in to comment.