Yes, I already know how to install a package with the installroot option :)
What I found weird is that some packages, including yum, weren't installed even though they are specified in the pkglist file. Whatever, I just added some packages like a desktop environment, gcc and python in the rootimg, and after a reboot yum was also working. I guess it was installed with a package I added. Best Regards -------- Message d'origine -------- De : Jarrod Johnson <jjohns...@lenovo.com> Date : 24/10/2018 19:22 (GMT+01:00) À : xCAT Users Mailing list <xcat-user@lists.sourceforge.net> Objet : Re: [xcat-user] [External] Diskless install leads to emergency mode The general principle is to leave things like yum out during packimage stage. However, prior to packimage, you can, for example: # chroot /install/netboot/rhels7.5/x86_64/compute/rootimg/ [root@mn10 /]# To manage the image in place, and using yum externally: yum –installroot=/install/netboot/rhels7.5/x86_64/compute/rootimage/ In either case, /install/netboot/rhels7.5/x86_64/compute/rootimage/etc/repos.d is what yum will complaint… From: Huette, Antoine <antoine.hue...@bechtle.com> Sent: Wednesday, October 24, 2018 1:07 PM To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net> Subject: Re: [xcat-user] [External] Diskless install leads to emergency mode Finally I've found out that the nfs exports weren't done correctly ! After fixing it the node booted correctly :) However...some basic packages like yum are missing... I'm quite sure I don't need to put such basic packages in the pkglist file, right ? Best Regards
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user