On 2/19/19 11:20 AM, Yuan Y Bai wrote:
Hi Thomas
To set install NIC with static ip, you can follow these steps:

ok thanks


*nics.nicips* is mainly used for secondary nics, it contains comma-separated list of IP addresses per NIC.You can refer to usage command: `tabdump -d nics|grep nicips`

Ok, what I previously tried with this attribute was to set eth2 ip with the same regexp as in the hosts table but the object definition would take the regexp litterally. Then I tried to put the real ip (once regexp is extanded) : the node object definition would have correct nicpi attribute but in the end the node would still gets netbooted with eth0 configured : why ?

*noderes.installnic* : The network adapter on the node that will be used for OS deployment, the installnic can be set to the network adapter name or the mac address or the keyword "mac" which means that the network interface specified by the mac address in the mac table will be used. You can refer to usage command: `tabdump -d noderes|grep installnic`.

Yes, I know this man section but I cannot see where installnic fits in my scenario : again, setting installnic to eth2 has no effect on which nic gets configured after discovery and once the node is netbooted :

how is this attribute supposed to be used ? Is it only for stateful mode ?

Thanks.

--
TH.




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

Reply via email to