-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 30/05/13 02:24, Gilad Berman wrote:
> What is the correct way of using regex inside the nic table?
This is what we have:
#node,nicips,nichostnamesuffixes,nictypes,niccustomscripts,nicnetworks,nicaliases,comments,disable
"compute","|\D+(\d+)|ib0!10.4.102.($1*1)|","ib0!-ib","ib0!Infiniband",,"ib0!barcoo_infiniband",,,
This gives:
[root@barcoo-m consoles]# lsdef barcoo070 | grep nic
installnic=mac
nichostnamesuffixes.ib0=-ib
nicips.ib0=10.4.102.70
nicnetworks.ib0=barcoo_infiniband
nictypes.ib0=Infiniband
postscripts=confignics,setupntp,syslog,remoteshell,syncfiles
primarynic=mac
Hope that helps!
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/
iEYEARECAAYFAlGm3MEACgkQO2KABBYQAh8ycQCdHQ/zMrdb2gS2qTYq7P+TMHJh
VkYAn3qv1TjBgeht+KiH9zc013wfMf5/
=IfbQ
-----END PGP SIGNATURE-----
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
xCAT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xcat-user