Oh that one, I don't know. Anaconda in RHEL can configure something, but definitely not everything. Do a post install scriplet... It's just bunch of config files.
LZ On Tue, Mar 28, 2017 at 12:36 PM, Johannes Kastl <[email protected]> wrote: > Hi Lukas, > > Lukas Zapletal schrieb: >> There are two templates, one is when you are in BUILD mode, the other >> is for the non-BUILD mode: >> >> provisioning_templates/PXEGrub2/pxegrub2_default_local_boot.erb >> provisioning_templates/PXEGrub2/pxegrub2_global_default.erb > > Correct me if I'm wrong: > The pxegrub2_default_local_boot does nothing more than chainload the > bootloader installed on the machine's hard disk (unless it is an EFI > machine): > >> menuentry "Chainload into BIOS bootloader on first disk" { >> set root=(hd0,0) >> chainloader +1 >> } > > (This is actually from the pxegrub2_chainload snippet that gets included > in the pxegrub2_default_local_boot template) > > So with a normal bios boot, it just boots the machine via PXE and tells > it to chainload the bootloader in the mbr and boot from that. > > What I am interested in is the configuration of this bootloader in the > mbr. I.e. the one, that can be configured on the machine itself > (/boot/grub/grub.cfg). > > I hope I could clarify what I want to achieve. > > I tried to do some stuff via preseed, but it never got called > apparently. I'm debugging this right now, but have not got any clue this > far. > > Johannes > > -- > Johannes Kastl > Linux Consultant & Trainer > Tel.: +49 (0) 151 2372 5802 > Mail: [email protected] > > 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. -- 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.
