f4af3233b5
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10567 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
38 lines
766 B
Plaintext
38 lines
766 B
Plaintext
start:makeknownhosts_h
|
|
cmd:makeknownhosts -h
|
|
check:output=~Usage
|
|
cmd:makeknownhosts --help
|
|
check:output=~Usage
|
|
end
|
|
|
|
start:makeknownhosts_node
|
|
description:Make a known_hosts file under $ROOTHOME/.ssh for input noderange
|
|
cmd:makeknownhosts $$CN -r
|
|
cmd:makeknownhosts $$CN
|
|
check:rc==0
|
|
cmd:cat ~/.ssh/known_hosts|grep $$CN
|
|
check:rc==0
|
|
check:output=~$$CN
|
|
cmd:makeknownhosts $$CN -r
|
|
end
|
|
|
|
start:makeknownhosts_node_r
|
|
description:remove known node in $ROOTHOME/.ssh
|
|
cmd:makeknownhosts $$CN
|
|
cmd:cat ~/.ssh/known_hosts|grep $$CN
|
|
check:output=~$$CN
|
|
cmd:makeknownhosts $$CN -r
|
|
check:rc==0
|
|
cmd:cat ~/.ssh/known_hosts|grep $$CN
|
|
check:rc!=0
|
|
check:output!~$$CN
|
|
end
|
|
|
|
start:makeknownhosts_node_r
|
|
description:verbose
|
|
cmd:makeknownhosts $$CN -V
|
|
check:rc==0
|
|
check:output=~$$CN
|
|
end
|
|
|