HI, Several comments:
1. -w is used to specify the selection string to filter nodes, in your case, the -w is not right. You should use this: chdef -m -t node -o p7n14-c postbootscripts=xxxx 2. otherpkgs is in the xcat default postbootscripts, you can not remove the otherpkgs through chdef <node>, you need to edit postscripts table to remove the otherpkgs from xcatdefaults 3. It is error prone to have the "-"(dash) character in the nodename, xCAT will try to expand this as noderange. Thanks, ------------------------------------------------------------------------- Li,Guang Cheng (李光成) IBM China System Technology Laboratory Email: ligua...@cn.ibm.com Address: Building 28, ZhongGuanCun Software Park, No.8, Dong Bei Wang West Road, Haidian District Beijing 100193, PRC 北京市海淀区东北旺西路8号中关村软件园28号楼 邮编: 100193 From: François Bissey <francois.bis...@canterbury.ac.nz> To: xcat-user@lists.sourceforge.net Date: 2012-09-26 11:31 Subject: [xcat-user] chdef broken in 2.6.11 Hi, Looking at some other problem I discovered that my chdef function was broken. The install was initially xcat 2.6.2 and then upgraded to 2.6.11. The problem is as follow: #chdef -m -t node -o p7n14-c -w postbootscript=otherpkgs Error: No type was provided for object 'p7n14-c'. Error: Skipping to the next object. Error: One or more errors occured when attempting to create or modify xCAT object definitions. Just to check: #lsdef -s -t node -o p7n14-c p7n14-c (node) I can use tabedit provided that I figure the right table but it is annoying. Anyone has an idea if it can be easily fixed (without an upgrade). Francois ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________ xCAT-user mailing list xCAT-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xcat-user