Typos and docker test fix for ubuntu-22.04

This commit is contained in:
Olof hagsand 2022-11-09 16:39:00 +01:00
parent d5c657bde3
commit f82ce896a9
4 changed files with 14 additions and 4 deletions

View file

@ -31,8 +31,18 @@ keydir=$dir/keydir
test -d $keydir || mkdir $keydir
chmod 700 $keydir
key=$keydir/mykey
# XXX cant get it to work with this file under tmp dir so have to place it in homedir
authfile=$HOME/.ssh/clixon_authorized_keys_removeme
# Cant get it to work with this file under tmp dir so have to place it in homedir
if [ ! -d $HOME/.ssh ]; then
mkdir $HOME/.ssh
chmod 700 $HOME/.ssh
fi
authfile=$HOME/.ssh/clixon_authorized_keys_removeme
# Not created in docker ubuntu-22.04
if [ ! -d /run/sshd ]; then
mkdir /run/sshd
fi
cat <<EOF > $cfg
<clixon-config xmlns="http://clicon.org/config">