Use ternary operator instead of 5 lines
Use ternary operator instead of 5 lines

For the oStrictHostKeyChecking we use the variable tmp, which is yes or
no, depending on the strict.

Signed-off-by: Aaron Karper <99cc1031546340b2b8ced5fe338b5890677a56ca@google.com>
Reviewed-by: Klaus Aehlig <4ce51de36d9068cd7db2eec1151e0f3f95419008@google.com>

leshchevds/ganeti,andir/ganeti,apyrgio/ganeti,grnet/snf-ganeti,grnet/snf-ganeti,mbakke/ganeti,apyrgio/ganeti,ganeti/ganeti,ganeti/ganeti,mbakke/ganeti,yiannist/ganeti,mbakke/ganeti,dimara/ganeti,ganeti/ganeti,andir/ganeti,bitemyapp/ganeti,yiannist/ganeti,andir/ganeti,dimara/ganeti,onponomarev/ganeti,bitemyapp/ganeti,onponomarev/ganeti,yiannist/ganeti,leshchevds/ganeti,leshchevds/ganeti