If you just copied the configib script to configib.vlsci and added the MTU and CONNECTED_MODE to be written out to the ifcfg-ib0 file then the configib.vlsci script is still expecting the ib0 to be passed in as the environment variable NIC_IBNICS as I stated in my last post.
Confignics does not set this environment variable when invoking it as a niccustomscript and this is why goodnics is not set when you ran with -x and as a niccustomscript. Conversely, this is why your script did work when you copied it back to configib. You will need to modify ifconfigib.vlsci to set $NIC_IBNICS=ib0 at the top of the script and I believe it will work as a niccustomscript. Regards, Bill Wajda HPC Software Development/xCat B/002-3-T09 MS P963 Poughkeepsie, NY 12601 Phone: 845-433-7075 T/L 293-7075 From: Christopher Samuel <[email protected]> To: [email protected], Date: 05/13/2013 09:08 PM Subject: Re: [xcat-user] Anyone got "niccustomscripts" working in the nics table? -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 13/05/13 22:24, William Wajda wrote: > You will need to modify your configib.vlsci script to set the > number of ib ports to 2 if needed and specify the nic (or nics > for the adapter), ib0 in your example, or parse it from your > configib.vlsci customscript argument. But all I'm doing is modifying the text that's going in to the config files in a copy of the xCAT provided configib script. Surely that does all the parsing already as it gets called from confignics when niccustomscripts isn't set? All the best, Chris - -- Christopher Samuel Senior Systems Administrator VLSCI - Victorian Life Sciences Computation Initiative Email: [email protected] Phone: +61 (0)3 903 55545 http://www.vlsci.org.au/ http://twitter.com/vlsci -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlGRiyEACgkQO2KABBYQAh9BdwCeMCgSyc6E98rlVsex6Qs8u2lt jp8Anic2ZwRWvI5W6cOY3hfkE0oWLnpw =w5NY -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d _______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
<<inline: graycol.gif>>
------------------------------------------------------------------------------ AlienVault Unified Security Management (USM) platform delivers complete security visibility with the essential security capabilities. Easily and efficiently configure, manage, and operate all of your security controls from a single console and one unified framework. Download a free trial. http://p.sf.net/sfu/alienvault_d2d
_______________________________________________ xCAT-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/xcat-user
