Skip to content

r/virtual_machine: add support for serial port(s) #1481

@aj-cruz

Description

@aj-cruz

Description

Requesting a new property for the vsphere_virtual_machine resource to add a serial port to a VM.
Network appliances such as Cisco's Nexus 9000v switch have the ability to redirect a network-backed (or named pipes) virtual serial port to the VMs console and is used quite heavily in lab scenarios.

Potential Terraform Configuration

resource "vsphere_virtual_machine" "TF-DC1-SPINE-SWITCH" {
  ......configuration......
  serial_port {
    backing_type: "network"
    direction: "server"
    service_uri: "telnet://<ip>:<port>"
    yield_on_poll: true
  }
}

References

#540

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions