What is the error message in the VM again? This is caused by
commit 0363223abbb14a53771181062cc37d94fd3c4b4e Author: Pavel Matěja <[email protected]> AuthorDate: Wed Jun 7 13:05:36 2017 +0200 Commit: Lukáš Zapletal <[email protected]> CommitDate: Wed Jun 7 13:05:36 2017 +0200 Include grub.cfg-01-$mac files in global template (#393) because GRUB2 on Debian does not include them automatically. Can you try this: https://github.com/theforeman/community-templates/pull/417 That should help. On Mon, Aug 28, 2017 at 3:31 PM, Mrinmoy Acharya <[email protected]> wrote: > Hi Lukas, > > Thanks for the response. Following are the answers: > > 1. grub2-tools-2.02-0.44.el7.centos.x86_64 > grub2-efi-2.02-0.44.el7.centos.x86_64 > grub2-2.02-0.44.el7.centos.x86_64 > grub2-efi-modules-2.02-0.44.el7.centos.x86_64 > > 2. [root@foreman grub2]# cat grub.cfg > insmod regexp > > set net_pxe_mac=$net_default_mac > regexp --set=1:m1 --set=2:m2 --set=3:m3 --set=4:m4 --set=5:m5 --set=6:m6 > '^([0-9a-f]{1,2})\:([0-9a-f]{1,2})\:([0-9a-f]{1,2})\:([0-9a-f]{1,2})\:([0-9a-f]{1,2})\:([0-9a-f]{1,2})' > "$net_default_mac" > mac_dashed=${m1}-${m2}-${m3}-${m4}-${m5}-${m6} > > mac_configfile=$prefix/grub.cfg-01-$mac_dashed > source "$mac_configfile" > > 3. Please let me know how to collect this one as I am booting a VM in VMware > workstation as UEFI client. > > Thanks and Regards, > > Mrinmoy > > > On Monday, August 28, 2017 at 5:09:59 PM UTC+5:30, Lukas Zapletal wrote: >> >> Hello, >> >> 1) What version of grub2 have you deployed on your TFTP server? Which >> distribution? >> >> 2) What is inside of /var/lib/tftpboot/grub2/grub.cfg config? >> >> 3) When you boot the host that does not work, find TFTP xfer messages >> in system journal and paste them here. >> >> LZ >> >> On Sat, Aug 26, 2017 at 9:01 PM, Mrinmoy Acharya >> <[email protected]> wrote: >> > Dear friends, >> > >> > i have set up Foreman discovery Image 9.1 plugin in one VM workstation >> > running Foreman server 1.15.0...i am trying to dicover UEFI hosts in >> > Fooreman gui for further provisioning. >> > >> > issue: I have to bootup one client node (VM) in Legacy BIOS firmware >> > mode to >> > get the grub-mac.cfg file created under /var/lib/tftpboot/grub2 & then >> > boot >> > up the host again in UEFI mode to Discover the host in Foreman server. >> > >> > I also delete the discovered host entry in the foreman gui >> > after >> > the bios boot....which gets created again after the UEFI boot. >> > >> > If i rather boot up the node directly in UEFI >> > mode....grub-mac.cfg >> > is not created & the client is stuck in a grub shell...please suggest >> > how to >> > discover host first time itself during the UEFI client boot. >> > >> > I am using VMware workstation for my testings >> > >> > thanks in advance. >> > >> > -- >> > 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.
