I am looking the packimage code. I think there is a bug here. To workaround this, use packimage centos7-x86_64-netboot-compute do not use -o, -p, -a options.
Thanks, Casandra ................................................................... Casandra Hong Qiu Phone: (845) 433-9291, t/l 293-9291 Office: B/002, Floor 3, Z13 [email protected] From: Stephen Cousins <[email protected]> To: xCAT Users Mailing list <[email protected]> Date: 10/27/2015 12:11 AM Subject: Re: [xcat-user] image settings change after running packimage Would it help if I mentioned something about cute cats? On Fri, Oct 23, 2015 at 4:17 PM, Stephen Cousins <[email protected]> wrote: I just started experiencing a weird thing with my 2.9.1 xcat system. I have changed some settings for my CentOS 7 stateless image to allow for custom packages, synclist, etc. However, when I run the packimage command those settings go away: The initial settings: [root@gromit var]# lsdef -t osimage centos7-x86_64-netboot-compute Object name: centos7-x86_64-netboot-compute exlist=/install/custom/netboot/centos7/compute.centos7.exlist imagetype=linux osarch=x86_64 osname=Linux osvers=centos7 otherpkgdir=/install/post/otherpkgs/centos7/x86_64 otherpkglist=/install/custom/netboot/centos7/compute.otherpkgs.pkglist permission=755 pkgdir=/install/centos7/x86_64 pkglist=/install/custom/netboot/centos7/compute.centos7.pkglist postinstall=/install/custom/netboot/centos7/compute.centos7.postinstall profile=compute provmethod=netboot rootimgdir=/install/netboot/centos7/x86_64/compute Now run packimage: [root@gromit var]# packimage -o centos7 -p compute -a x86_64 Packing contents of /install/netboot/centos7/x86_64/compute/rootimg Now look at the definitions again: [root@gromit var]# lsdef -t osimage centos7-x86_64-netboot-compute Object name: centos7-x86_64-netboot-compute exlist=/opt/xcat/share/xcat/netboot/centos/compute.centos7.exlist imagetype=linux osarch=x86_64 osname=Linux osvers=centos7 otherpkgdir=/install/post/otherpkgs/centos7/x86_64 permission=755 pkglist=/opt/xcat/share/xcat/netboot/centos/compute.centos7.pkglist postinstall=/opt/xcat/share/xcat/netboot/centos/compute.centos7.postinstall profile=compute provmethod=netboot rootimgdir=/install/netboot/centos7/x86_64/compute So it reset exlist, pkglist and postinstall, and erased the setting for otherpkglist. Also, now after building a new image it is asking for a password when root tries logging into a node. Has anyone seen these things before? Any fixes? Thanks, Steve -- ________________________________________________________________ Steve Cousins Supercomputer Engineer/Administrator Advanced Computing Group University of Maine System 244 Neville Hall (UMS Data Center) (207) 561-3574 Orono ME 04469 steve.cousins at maine.edu ------------------------------------------------------------------------------ _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
------------------------------------------------------------------------------
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
