Open bab5470 opened 1 month ago
Hello, bab5470! 🖐
Thank you for submitting an issue for this provider. The issue will now enter into the issue lifecycle.
If you want to contribute to this project, please review the contributing guidelines and information on submitting pull requests.
Community Guidelines
Terraform
1.6.3
Terraform Provider
2.9.2
VMware vSphere
8.0.3
Description
I have a terraform script that performs a clone operation on a VMware template created with packer. In the terraform script I add two NICs to the existing VM (for a total of 3) and then configure IP information on all three.
What I see is that the new NICs in Rocky Linux are configured but duplicated:
ens256 VMware customization ens256 ens224 VMware customization ens224 ens192 VMware customization ens192
I am running openvmtools on the system. It seems like network connections are getting created in two places:
The ens connections are created in /etc/sysconfig/network-scripts, and the "Vmware Customizations" connections are created in /etc/Network-Manager/system-connections
I don't think connections are supposed to be created in both locations and obviously, we don't want our NIC/connections named "VMware customization xxxx"
Is this a bug in the VMware terraform provider, openvmtools, Rocky Linux?
Affected Resources or Data Sources
resource/vsphere_virtual_machine
Terraform Configuration
Variable file:
Terraform script
Debug Output
I am happy to provide this privately but not post debug output with sensitive information about our environment in a public place. Please let me know how I send this safely/securely.
Panic Output
No response
Expected Behavior
A single set of interfaces are connected and configured.
Actual Behavior
Multiple nics show up in nmtui or nmcli with different names but identical configs.
Steps to Reproduce
Run the above scripts
Environment Details
Rocky Linux 9.4 Open-VM-Tools 12.3.5
Screenshots
References
No response