hashicorp / packer-plugin-vsphere

Packer plugin for VMware vSphere Builder
https://www.packer.io/docs/builders/vsphere
Mozilla Public License 2.0
93 stars 91 forks source link

Add support for serial ports #424

Open grule-draeger opened 2 months ago

grule-draeger commented 2 months ago

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 "me too" comments, 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.

Description

The current version of the plugin lacks support for configuring serial ports. This feature would enable users to add and configure serial ports during the provisioning process.

Use Case(s)

Potential configuration

source "vsphere-iso" "my_base_template" {
  ...
  serial = "FILE:[Datastore] directory/output_file"
  ...
}
source "vsphere-iso" "my_base_template" {
  ...
  serial = "DEVICE:/dev/ttyS0,yield=true"
  ...
}
source "vsphere-iso" "my_base_template" {
  ...
  serial = "DEVICE:COM1"
  ...
}

Potential References