ssh-client: remove ctty related check
cttyhack was removed and ctty is supported by default, so no need to check it in ssh-client module any more. Signed-off-by: Dave Young <dyoung@redhat.com>master
parent
c62b94614d
commit
fc9bc6f8db
|
@ -15,9 +15,6 @@ check() {
|
|||
derror "ssh key: $sshkey is not found!"
|
||||
return 1
|
||||
}
|
||||
[[ ! $cttyhack = yes ]] && {
|
||||
dinfo "--ctty is not used, you should make sure the machine is a knownhost and copy the sshkey to remote machine!"
|
||||
}
|
||||
fi
|
||||
|
||||
return 255
|
||||
|
@ -50,11 +47,6 @@ inst_sshenv()
|
|||
}
|
||||
|
||||
install() {
|
||||
[[ ! $cttyhack = yes && ! $sshkey ]] && {
|
||||
derror "ssh-client needs option --ctty or --sshkey!"
|
||||
return 1
|
||||
}
|
||||
|
||||
dracut_install ssh scp
|
||||
inst_sshenv
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue