Hi Huette
 
When you want to add some packages from OS, you can append package short names in the pkglist. You can find the pkglist from osimage definition, then edit the pkglist to append packages like following commands:
 
~]# lsdef -t osimage rhels7.4-x86_64-install-compute -i pkglist
Object name: rhels7.4-x86_64-install-compute
    pkglist=/opt/xcat/share/xcat/install/rh/compute.rhels7.pkglist
 
 ~]# cat /opt/xcat/share/xcat/install/rh/compute.rhels7.pkglist
#Please make sure there is a space between @ and group name
wget
ntp
nfs-utils
net-snmp
rsync
yp-tools
openssh-server
util-linux
net-tools
 
 
 
Best Regards
--------------------------------------------------
Yuan Bai (白媛)

CSTL HPC System Management Development
Tel:86-10-82451401
E-mail: by...@cn.ibm.com
Address: IBM ZGC Campus. Ring Building 28,
ZhongGuanCun Software Park,No.8 Dong Bei Wang West Road, Haidian District,
Beijing P.R.China 100193

IBM环宇大厦
北京市海淀区东北旺西路8号,中关村软件园28号楼
邮编:100193
 
 
----- Original message -----
From: "Huette, Antoine" <antoine.hue...@bechtle.com>
To: xCAT Users Mailing list <xcat-user@lists.sourceforge.net>
Cc:
Subject: Re: [xcat-user] [External] Diskless install leads to emergency mode
Date: Thu, Oct 25, 2018 3:42 AM
 
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
 

_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to