On 2/14/19 10:47 AM, Thomas HUMMEL wrote:
On 2/13/19 6:41 PM, Kevin Keane wrote:

One of the drawbacks of using a formula


Also, do you have an example of a regexp used as nicip in the nics table ?

I tried :


"tars-113","eth2!|\D+(\d+)$|192.168.(128+$1/255).($1%254+2)|",,,,,,,,"force eth2 setting",

Note that this regexp is the same as the one which works in hosts table

but I don't think that's legit since :

# lsdef -t node -c -i ip,nicips tars-113
tars-113: ip=192.168.128.115
tars-113: nicips.eth2=|\D+(\d+)$|192.168.(128+$1/255).($1%254+2)|

-> ip regexp gets expanded
-> nicips seems to be taken verbatim

Maybe I'm using some incorrect syntax ?

Thanks

--
Thomas H.




_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to