On 25 October 2016 at 20:10, Alexander Rilik <[email protected]> wrote:
> Hello, > > Is it possible to provision VMs so they are attached to a Linux bridge? > Absolutely We are running some core services (DHCP, DNS, LDAP) inside dedicated VMs > and we need them to be reachable from the network. Unless I'm missing > something, this is not easily achievable when they are natted and behind > dnsmasq. > You are not missing anything :) > Right now the deployment is done via puppet by means of a custom module > that makes use of virt-install, with the vms defined on the host Puppet > nodefile. When puppet is run, it creates the missing VMs. Being this non > scalable and sorta ugly I'd be happy to change approach, if necessary. > I do this myself here at home - I have a RaspberryPi that runs the house infra (DNS/DHCP/TFTP) and a beefy libvirt host which runs a bridged network for the guests. As you would expect, the VMs correctly boot and get PXE from the RPi. You do need to ensure that you specify the bridge name in the network interface modal (on the Host new/edit page) but otherwise it should just work as normal, from Foreman's perspective. Greg -- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/foreman-users. For more options, visit https://groups.google.com/d/optout.
