Closed immarvin closed 5 years ago
[root@c910f03c01p13 2.0]# cat /tmp/bogusnode |grep -E hidden\|obj_type nodelisthidden: abc obj_type: group [root@c910f03c01p13 2.0]# [root@c910f03c01p13 2.0]# xcat-inventory import -t node -o bogusnode -f /tmp/bogusnode loading inventory date in "/tmp/bogusnode" start to import "node" type objects preprocessing "node" type objects writting "node" type objects start to import "prodkey" type objects preprocessing "prodkey" type objects writting "prodkey" type objects start to import "networkconn" type objects preprocessing "networkconn" type objects writting "networkconn" type objects Inventory import successfully! [root@c910f03c01p13 2.0]# tabdump nodelist #node,groups,status,statustime,appstatus,appstatustime,primarysn,hidden,updatestatus,updatestatustime,zonename,comments,disable "c910f03fsp01","cec,all",,,,,,,,,,, "c910f03c01p14","all","powering-off","10-23-2018",,,,,,,,, "c910hmc02","hmc,all",,,,,,,,,,, "bogusnode",,,,,,,"abc",,,,, [root@c910f03c01p13 2.0]# xcat-inventory export -t node -o bogusnode |grep -E hidden\|obj_type nodelisthidden: abc obj_type: node
fixed in https://github.com/xcat2/xcat-inventory/pull/160