Provisioning a XenServer VM with 2 network interfaces

Hi,

I'm using Foreman 1.9.3 and I want to provision an Ubuntu VM on XenServer.
The VM will have 2 NIC; first one the primary and the second one for
provisioning.

I haven't found the way to accomplish this using default compute resources
and profiles because just one NIC can be defined.

How could I get this? Am I on the right direction or perhaps there is a
better way to do this?

Thanks.

Francesc

Hi,

> I'm using Foreman 1.9.3 and I want to provision an Ubuntu VM on XenServer.
> The VM will have 2 NIC; first one the primary and the second one for
> provisioning.
>
> I haven't found the way to accomplish this using default compute resources
> and profiles because just one NIC can be defined.

Please file an issue here:
http://projects.theforeman.org/projects/xen/issues/new

While not 100% sure I think the foreman_xen plugin was fixed to work
with Foreman 1.8+'s new interface data structure but no code was added
to handle multiple interfaces for the VM creation, so somebody[tm] would
have to do this (maybe together with or after #12051).

The code for the plugin can be found under
https://github.com/theforeman/foreman-xen and just underwent a fixing
and code cleanup phase the last weeks so hopefully it's also easier now
to contribute. :slight_smile:

Best Regards

ยทยทยท On Tue, Nov 10, 2015 at 01:04:34AM -0800, francesc bassas wrote: -- Michael Moll