After digging a bit this issue,
I found that ESXi does not provide mac address at creation time. I just
created a vm with vsphere client, and check the vmx file. What i get is :
ethernet0.virtualDev = "e1000"
ethernet0.networkName = "Vlan xxx"
ethernet0.addressType = "generated"
ethernet0.present = "TRUE"
So i have no mac address for the VM at that time.
Il i boot the VM and check the vmx file again, i get this line :
ethernet0.generatedAddress = "xx:xx:xx:xx:xx:xx"
So mac address is generated at boot time.
Is there any way i can specify a mac address manually ?
I see in the fog library, that the "generated" parameter for mac address
is hardcoded.
We can also set it to manually, and adapt foreman UI so i can provide a mac
address by hand.
I'm not so comfortable with ruby, but i can do my best to fix this. Do you
have any pointer for where i should start to fix this ?
Regards,
···
2015-02-02 12:23 GMT+01:00 claude juif :2015-01-29 11:53 GMT+01:00 claude juif claude.juif@gmail.com:
Hi,
I’ve read many things about vmware compute ressource:
Better VMware support for non-clustered setup :
Feature #1945: Better VMWare support for non-clusters setup - Foremanand all attached bugs, but there is still something not clear:
In Vmware ESXi 5.5 and vsphere, mac address is created when the VM boot
for the first time, so obviously foreman can’t retrieve the mac parameter
from ESX.So does that mean manage and provision compute ressource on this kind of
setup will never work ?Any hints on this ?
Regards,
–
You received this message because you are subscribed to the Google Groups
“Foreman users” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to foreman-users+unsubscribe@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at http://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.