Well you can use finish template but you need to explicitly download it at the end of your kickstart:
curl http://foreman/unattended/finish | bash -x That's really it. On Thu, Aug 17, 2017 at 2:50 PM, Costin Balan <[email protected]> wrote: > Hello, > > Thanks for the feedback. What kind of template should I use then for my > needs? > > Some post-installation configurations? Like DNS, network, Proxy etc..? > > On Thursday, August 17, 2017 at 2:14:32 PM UTC+3, Lukas Zapletal wrote: >> >> Hello, >> >> finish template only triggers when compute_attributes.present? && >> image_build? && !image.try(:user_data) >> >> In other words, this is only meant for image based provisioning on >> virt or clouds. You may want to file a RFE if there is none present >> already. >> >> LZ >> >> On Thu, Aug 17, 2017 at 8:32 AM, Costin Balan <[email protected]> wrote: >> > Hello, >> > >> > I have a physical server which I'm trying to install with Foreman via >> > PXE. >> > The chosen OS is Ubuntu 17.04. >> > >> > In Foreman, this operating system has associated 3 templates: >> > >> > A PXELinux template type. >> > A Provisioning template type. >> > A Finish template type. >> > >> > When I start the Physical server in PXE, all goes well: >> > >> > It loads the Foreman discovery image >> > After that, I provision the host from Foreman with Ubuntu 17.04 as an >> > OS. >> > It successfully fetches the needed files and starts installation >> > During installation it successfully uses the Provisioning template I >> > provided for various configurations (partitioning, language selection, >> > user >> > creation etc). >> > After the installation the 'Finish template' will NOT be run (I don't >> > know >> > why). This template has the network, DNS, Proxy and other configurations >> > which are supposed to be done after the OS Installation. >> > >> > What is the issue? Why is the 'Finish template' not run? >> > >> > Any help or guidance will be appreciated >> > >> > -- >> > 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. >> >> >> >> -- >> Later, >> Lukas @lzap Zapletal -- Later, Lukas @lzap Zapletal -- 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.
