mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-07-23 12:51:10 +00:00
add testcase lsdef_nics
This commit is contained in:
@@ -196,3 +196,14 @@ cmd:lsdef -t node -h -i status
|
||||
check:rc==0
|
||||
check:output=~status
|
||||
end
|
||||
|
||||
start:lsdef_nics
|
||||
description:lsdef --nics
|
||||
cmd:mkdef -t node -o testnode1 groups=all mgt=ipmi nicips.eth0=1.1.1.1
|
||||
check:rc==0
|
||||
cmd:lsdef testnode1 --nics
|
||||
check:rc==0
|
||||
check:output=~1.1.1.1
|
||||
cmd:rmdef testnode1
|
||||
check:rc==0
|
||||
end
|
||||
|
Reference in New Issue
Block a user