Sorry, when I refer to network config in point 2 I'm referring to the provisioning setup steps still, I think network config is step 2?
On Thursday, 30 March 2017 08:17:51 UTC+1, Johannes Kastl wrote: > > Hi, > > Nathan Slinn schrieb: > > > 1.) Under 'Infrastructure -> Provisioning Setup' the provisioning > > network shows the VLAN of the single NIC currently attached to the > > Foreman server. I want to provision my VMs in another VLAN, do I need > > to add another NIC to the Foreman server on this alternate VLAN and > > specify it here before proceeding? If this needs to be a NIC on the > > VLAN the provisioned machines will go into, how do I handle > > provisioning to multiple VLANs? > > We did something like this: > > The Foreman Server has two NICS, one in the public LAN/VLAN and one in > the deployment VLAN. The latter one has to be created and has to be > available on your VMWare Host. > > The VM has to be created with the NIC being in the deployment VLAN. We > had foreman handle DNS and DHCP/PXE on only this VLAN. Also foreman did > the routing, so the machines could reach the internet from the > deployment VLAN. > The machine boots (we did this with the discovery plugin) and gets > provisioned. After the machine is finished, it's NIC is switched from > the deployment VLAN to the VLAN it should be in finally (this has to be > done in the VM configuration in VMware). > > Note that foreman no longer has contact to the VM after it's NIC has > changed the VLAN. > > > 2.) Following on from Q1, in the network config should this be the > > domain/vlan I want to provision machines into or the domain/vlan of > > the Foreman server itself? > > I do not understand your question. Does "network config" mean the > foreman provisioning setup or the Vmware VM configuration? > > > 3.) Ideally I don't want any DNS or DHCP being performed by the > > Foreman server, is it just a simple case specifying IPAM: None and > > Bootmode: Static? > > No idea, sorry. > > -- > Johannes Kastl > Linux Consultant & Trainer > Tel.: +49 (0) 151 2372 5802 > Mail: [email protected] <javascript:> > > B1 Systems GmbH > Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de > GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537 > -- 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.
