mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-01 10:25:33 +00:00
update regexp to get the right IP address Issue: xcat-com001: configure nic and its device : eth0 xcat-com001: [I]: configure eth0 xcat-com001: [I]: call: NMCLI_USED=0 configeth eth0 10092.168.200.20 confignetworks_test1 xcat-com001: [I]: configeth on xcat-com001: os type: redhat xcat-com001: configeth on xcat-com001: old configuration: 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000 xcat-com001: link/ether 52:54:00:7d:fe:76 brd ff:ff:ff:ff:ff:ff xcat-com001: inet6 fe80::5054:ff:fe7d:fe76/64 scope link xcat-com001: valid_lft forever preferred_lft forever xcat-com001: [I]: configeth on xcat-com001: new configuration xcat-com001: 10092.168.200.20, 100.168.0.0, 255.255.0.0, <==== here Command: XCATTEST_MN=192.168.200.10 XCATTEST_SN=192.168.200.10 XCATTEST_ISO=/opt/xcat/CentOS-7-x86_64-DVD-1804.iso XCATTEST_SECONDNIC=eth0 XCATTEST_THIRDNIC=eth2 XCATTEST_CN=xcat-com001 xcattest -t confignetwork_vlan_eth0 # lsdef -t node xcat-com001 Object name: xcat-com001 arch=x86_64 currchain=shell currstate=runimage=http://192.168.102.124/install/my_image/my_image.tgz groups=compute,all ip=192.168.200.20 mac=52:54:00:16:ba:39 mgt=ipmi monserver=192.168.200.10 netboot=xnba nfsserver=192.168.200.10 postbootscripts=otherpkgs postscripts=syslog,remoteshell,syncfiles serialport=0 serialspeed=115200 status=powering-off statustime=05-12-2020 05:39:46 tftpserver=192.168.200.10 xcatmaster=192.168.200.10 Signed-off-by: Chen Hanxiao <chen_han_xiao@126.com>