Hello again,
In order to generate short names for my nodes, I just used the
hosts.hostnames attribute, like this :
#node,ip,hostnames,otherinterfaces,comments,disable
"compute","|maestro-(\d+)$|192.168.(150+$1/250-$1/250/2).($1%250+2)|","|maestro-(\d+)$|m($1)|",,"192.168.152.0/21
(192.168.152.1 - 192.168.159.254)",
This, for maestro-1000 for instance generates the m1000 /etc/hosts alias
and the corredponding DNS cname, as expected.
In order to do the same for the ib0 additional nic, I tried the same
regexp as well as some others but regexp just does not seem to be
supported at all in the nics.nicaliases attribute :
"compute","ib0!|maestro-(\d+)$|172.16.($1/250-$1/250/2-2).($1%250+2)|","ib0!-ib0",,"ib0!Infiniband",,"ib0!maestro_ipoib","ib0!|maestro-(\d+)$|m($1)-ib0|","ib0!DEFROUTE=no",,,,
did not generate, as I would have wanted the m1000-ib0 alias/cname
Did I miss something or is it expected to work, thus being a bug ?
Thanks for your help
--
Thomas HUMMEL
_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user