2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

Merge pull request #522 from caomengmeng/mm/add_updatenode_cases_f_k

Add two new updatenode cases
This commit is contained in:
tingtli 2016-01-12 09:22:04 +08:00
commit c4e9ddd375

View File

@ -301,6 +301,34 @@ check:rc==0
#cmd:rm /install/postscripts/updatenode_P_script_input
end
start:updatenode_f_incompatible_flags
description:check if -f flag incompatible with -S,-P or -F flags
cmd:updatenode $$CN -f -S
check:rc==1
check:output=~If you specify the -f flag you must not specify either the -S or -k or -P or -F flags
cmd:updatenode $$CN -f -P
check:rc==1
check:output=~If you specify the -f flag you must not specify either the -S or -k or -P or -F flags
cmd:updatenode $$CN -f -F
check:rc==1
check:output=~Choose either -f to sync the service nodes, or -F to sync the nodes
end
start:updatenode_k_incompatible_flags
description:check if -k flag incompatible with -S,-P,-F or -f flags
cmd:updatenode $$CN -k -S
check:rc==1
check:output=~If you use the -k flag, you cannot specify the -S,-P,-f or -F flags
cmd:updatenode $$CN -k -P
check:rc==1
check:output=~If you use the -k flag, you cannot specify the -S,-P,-f or -F flags
cmd:updatenode $$CN -k -F
check:rc==1
check:output=~If you use the -k flag, you cannot specify the -S,-P,-f or -F flags
cmd:updatenode $$CN -k -f
check:rc==1
check:output=~If you use the -k flag, you cannot specify the -S,-P,-f or -F flags
end