Project

General

Profile

Actions

Feature #1501

open

ability to set MAC address of guests

Added by Adrian Bridgett about 12 years ago. Updated over 3 years ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Compute resources
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

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


Related issues 1 (0 open1 closed)

Has duplicate Foreman - Feature #13089: Support specifying interface MAC address during VM creationDuplicate01/08/2016Actions
Actions

Also available in: Atom PDF