On 26 October 2016 at 11:08, Travis Ross <[email protected]> wrote:
> Okay I'm new to Foreman and oVirt but have been trying to set something up > in my lab for our developers. > Welcome :) > During my initial testing of deploying a VM to oVirt everything seems to > work except when my VM PXE boots I'm grabbing an IP outside of my > infrastructure and it's trying to load windows so likely it's a domain PXE > server that seems to be taking precedence. > So one option would be to use premade images that can be configured when they spin up (I think oVirt calls them "templates", just to overload that term further :P). That would be one way to bypass the need for a TFTP server. However, Foreman will expect to know the IP so it can SSH in and configure the image once booted. You may have some issues there - but rather than derail further now, we can discuss it if that's an interesting direction. > I have restarted foreman.service You need to restart Apache, by default. The foreman service is provided by the packages for convenience but we use Apache/Passenger in the installer. > 1. How to point my PXE boot to my foreman server rather than the corporate > PXE server? > > Is this on the oVirt side or Foreman Side to isolate which PXE server to > point to? > > Assuming you dont want to use images, as per above, then there's three steps: 1) Where does the VM get DHCP from. If it's a private network, you can control it. If it's bridged, it's time to talk nicely to the DHCP guys :) 2) The DHCP server hands out bootp and next-server records that direct the VM to the TFTP server - these need to be right 3) Or, the existing PXE server needs a class file (something for your network segment probably) that chain loads your tftp server. > 2. Which logs do I need to check to fix my Provisioning Template debacle? > I'm not clear on which page you're hitting Submit on, but in general you probably want to enable debug logs. Take a look at http://projects.theforeman.org/projects/foreman/wiki/Troubleshooting for some general hints. 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.
