hi,

for xCAT commands such as "genimage","packimage","nodeset"...., please use 
osimage name as the argument, the previous "-p","-o","-a" options are 
deprecated.

thanks

------------------------------------------------------------------------------
 YANG Song (杨嵩)
 IBM China System Technology Laboratory
 Tel: 86-10-82452903
 Email: [email protected]
 Address: Building 28, ZhongGuanCun Software Park,
          No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, 
PRC

北京市海淀区东北旺西路8号中关村软件园28号楼
邮编: 100193



From:   Stephen Cousins <[email protected]>
To:     xCAT Users Mailing list <[email protected]>
Date:   10/27/2015 11:53 PM
Subject:        Re: [xcat-user] image settings change after running 
packimage



Thanks very much Casandra. It works fine that way. 

Steve

On Tue, Oct 27, 2015 at 9:51 AM, Casandra H Qiu <[email protected]> wrote:
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]



Stephen Cousins ---10/27/2015 12:11:07 AM---Would it help if I mentioned 
something about cute cats? On Fri, Oct 23, 2015 at 4:17 PM, Stephen Cou

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




-- 
________________________________________________________________
 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

Reply via email to