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
------------------------------------------------------------------------------
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user