Terraform-VMWare-Modules / terraform-vsphere-vm

Terraform vSphere module for provisioning Virtual Machines
https://registry.terraform.io/modules/Terraform-VMWare-Modules/vm/vsphere/
MIT License
169 stars 176 forks source link

Allow Hostname to differ from VMname #128

Closed einhirn closed 2 years ago

einhirn commented 2 years ago

In our naming scheme we have vmname set to FQDN, but that doesn't work for hostname on a linux box. So I added a new set of variables *hostname* analog to *vmname*. I kept backward compatibility by falling back to *vmname* vars shoud the *hostname* vars be null.

I don't know how apply this to the existing tests, so I didn't.

stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] commented 2 years ago

enable