-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cannot set MAC address in network interface in vsphere provider #5992
Comments
More info please |
What info is needed? Terraform is not able to set MAC address of deployed vm. |
At this point static macs are not supported. If you like you can submit a PR. @godfryd every time I have used the plugin vSphere sets the mac address, not terraform. What is your exact use case? This is case that is not supported currently. Just want to make sure that you are manually setting mac addresses with terraform. Here are the docs for vSphere: Here are the use cases:
|
@godfryd major edit on the last post, as I did not read 'STATIC MACS' in your issue. My mistake. At this point terraform provider does not have the capability to set a mac address. If that is indeed your use case, please feel free to submit a PR. You may want to verify that the underlying API supports that first. Again sorry that I did not read your issue as well as I could. |
Yes, in our environment we are able to use only manually assigned MAC addresses. So we need terraform to control MAC addresses and preserve them when given virtual machine is being recreated. Otherwise we will be getting randomly generated MAC to the same VM. |
Please take a look at #6966 and see if this meets your needs. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Currently it is only possible to set MAC address when one is deploying VM to vsphere.
We are using static DHCP where we allocate IP address to MAC address.
So we would need to be able to configure MAC address only on network interface.
The system will get IP from DHCP when it is booted.
Could you add support for that?
The text was updated successfully, but these errors were encountered: