Okay, I was just one more document away from my answer. :D According to:
https://theforeman.org/plugins/foreman_discovery/6.0/index.html#2.Installation The magic sauce is: append initrd=initrd0.img root=live:CDLABEL=fdi rootfstype=auto ro rd.live.image acpi=force rd.luks=0 rd.md=0 rd.dm=0 proxy.url=https://katello.my.domain proxy.type=foreman fdi.pxip=dhcp fdi.pxauto=1 (the fdi.pxip=dhcp part isn't documented, though I guess it should be obvious) I've run into an error: "Unattended provisioning failed: unable to upload facts. Check your network credentials." ...but haven't researched it at all yet. The message looks pretty straightforward though I'm confused as to why credentials wouldn't have been assigned when I clicked "Provision" in the web interface (as I assume they are when you use the PXE boot option for this process). Insight is appreciated. Regards, j ----- Original Message ----- From: "'Jason B. Nance' via Foreman users" <[email protected]> To: "foreman-users" <[email protected]> Sent: Friday, October 7, 2016 3:45:50 PM Subject: [foreman-users] how to tell discovery ISO to use DHCP automatically Hello, I'm attempting to using a bootable ISO to discover hosts (vs PXE). I created a bootable ISO using https://github.com/theforeman/foreman-discovery-image, and changed my "append" line in isolinux/isolinux.cfg to say: append initrd=initrd0.img root=live:CDLABEL=fdi rootfstype=auto ro rd.live.image acpi=force rd.luks=0 rd.md=0 rd.dm=0 ip=dhcp rd.neednet=1 nomodeset proxy.url=https://katello.my.domain proxy.type=foreman When the host boots, though, the FDI workflow starts by asking me if I want a manual network setup or DHCP. Is there a way to boot from a CD/ISO and automatically use DHCP and register as a discovered host (similar to how the the PXE boot discovery works)? Or, if not DHCP, a way for me to set static network configuration so that the discovery can happen without human intervention? Thanks, j -- 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. -- 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.
