Open Udayendu opened 2 years ago
Only solution is to make a template without a NIC and then vmware_guest
is able to attach the nic with correct MAC prefix as expected.
@goneri @Akasurde Can some one take a look into this ? This is an important one as ansible is not able to handle the multiple vms very well with MAC assignment while cloning from a template.
SUMMARY
Newly cloned vms are not having desired MAC via
random_mac
if the template is attached with a nic. Its taking the MAC from the same prefix as its attached in the template.ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
COLLECTION VERSION
OS / ENVIRONMENT
STEPS TO REPRODUCE
vmware_guest
module which will have a NIC attached to it.EXPECTED RESULTS
ACTUAL RESULTS
vmware_guest
is not creating the MAC starting with '00:0d:1e' but with '00:50:56'.