-
Notifications
You must be signed in to change notification settings - Fork 1.9k
vsphere_guest: vm_nic should include manual MAC change feature #3615
Comments
net_device is correct vm.properties.config.hardware.device
Currently I am using workaround python script, which can do the same, if you need full script let me know. |
@chrrrles, @rhoop, ping. This issue is still waiting on your response. |
This sounds like a feature request. Do you have a working version you can submit for PR? |
@chrrrles, @rhoop, ping. This issue is still waiting on your response. |
@chrrrles, @rhoop, ping. This issue is still waiting on your response. |
@chrrrles, @rhoop, ping. This issue is still waiting on your response. |
This repository has been locked. All new issues and pull requests should be filed in https://github.com/ansible/ansible Please read through the repomerge page in the dev guide. The guide contains links to tools which automatically move your issue or pull request to the ansible/ansible repo. |
This issue was migrated to ansible/ansible#29803 |
ISSUE TYPE
Bug Report
COMPONENT NAME
vsphere_guest
ANSIBLE VERSION
N/A
SUMMARY
Currently during VM reconfiguring following options are supported for vm_nic.
I think this should be extended with feature to define MAC address manually, adding
address_type: manual
address: "00:0c:29:ac:70:96"
Final look might be like:
This functionality looks like might be supported by pysphere, but currently not implemented in Ansible.
This feature might be useful when Ansible is used to rebuild same VMs multiple times and there are static DHCP leases configured for exact MAC addresses.
The text was updated successfully, but these errors were encountered: