Project

General

Profile

Feature #1501

Updated by Stephen Benjamin almost 10 years ago

I'd love to be able to set the MAC address of VM guests (we control the DHCP server manually (if I get lots of spare time maybe I'll write a new dhcp smart proxy module)). 

 

 However the GUI hides the mac address in the "New -> Host -> Network" page, sadly it's not as simple as just commenting out "unless @hypervisor" from ./app/views/hosts/_unattended.html.erb. 

 

 ./lib/foreman/controller/host_details.rb seems to be responsible somehow for displaying/hiding this item but my Rails development knowledge is non-existant. 

 

 Currently we have to create the VM (which fails to boot), then edit the libvirt config, stop the build, edit mac address, start the build. 

 

 It'd be great if you could _optionally_ specify the MAC address to use (and to generate one if it's blank as it currently does). 

 

 Foreman: v0.4.1

Back