mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-05-30 17:46:38 +00:00
Add extra output to confignetwork testcase
This commit is contained in:
parent
8e2b1ac119
commit
d9a1f127dc
@ -864,6 +864,8 @@ check:output=~br22
|
||||
check:output=~br33
|
||||
cmd:xdsh $$CN "cat /sys/class/net/bonding_masters"
|
||||
check:output=~bond0
|
||||
cmd:xdsh $$CN "ip addr show bond0.3"
|
||||
cmd:xdsh $$CN "ip addr show br33"
|
||||
cmd:rmdef -t network -o confignetworks_test1
|
||||
cmd:rmdef -t network -o confignetworks_test2
|
||||
cmd:if grep SUSE /etc/*release;then xdsh $$CN "rm -rf /etc/sysconfig/network/ifcfg-$$SECONDNIC"; elif grep -E "Red Hat|CentOS" /etc/*release;then xdsh $$CN "rm -rf /etc/sysconfig/network-scripts"; elif grep Ubuntu /etc/*release;then xdsh $$CN "rm -rf /etc/network/interfaces.d/$$SECONDNIC";else echo "Sorry,this is not supported os"; fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user