Steve, Did you follow the instructions found here: http://sourceforge.net/p/xcat/wiki/XCAT_iDataPlex_Cluster_Quick_Start/#deploying-stateless-nodes <http://sourceforge.net/p/xcat/wiki/XCAT_iDataPlex_Cluster_Quick_Start/#deploying-stateless-nodes>
You mentioned create a custom pkglist, but you also have to change your image definition to use that file and then every time you change that file you’ll need to re-run genimage and packimage. The basic idea is that genimage uses the configurations according to the image definitions to create the rootimg directory. If you want to make other customizations to files in there do that now. Then packimage compresses that directory to the file that the nodes will pick up on their next boot. It can be a good idea to script this whole process so that it is always repeatable. Good Luck, Mike Robbert > On Jun 2, 2015, at 3:34 PM, Stephen Cousins <[email protected]> wrote: > > > What is the easiest/best way to add packages to a basic Stateless image? > > I created a new stateless image by doing: > > downloaded CentOS 7 Everything iso > copycds -n centos7 /tmp/CentOS-7-x86_64-Everything-1503-01.iso > genimage # and chose this image > packimage -o centos7 -p compute -a x86_64 > > The nodes boot up but of course don't have much in them. Not even yum. I can > understand wanting to have this image be small but I'm wondering how best to > add packages to it. Like the environment-modules package? Set up the > Infiniband network, etc. > > I tried chroot'ing the rootimg directory (after mounting sys dev and proc) > and was able to install rpms from the CentOS mirror site but without yum the > dependencies make this extremely time consuming. Trying to install yum from > rpms is also full dependencies that go on seemingly without end. > > I also tried creating a custom pkglist in /install/custom/netboot/centos but > that didn't seem to do anything when I booted a new node. > > I have looked around quite a bit but can't find anything the talks about > this other than in very vague terms. > > Thanks for your help. > > Steve > > ------------------------------------------------------------------------------ > _______________________________________________ > xCAT-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xcat-user
smime.p7s
Description: S/MIME cryptographic signature
------------------------------------------------------------------------------
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
