Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions setup/bindir/cloud-set-guest-sshkey.in
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ if [ ! -e $authorized ]; then
chmod 600 $authorized
fi

cat $authorized|grep -v "$publickey"|tee $authorized > /dev/null
echo "$publickey" >> $authorized
sed -i "/ cloudstack@apache.org$/d" $authorized
echo "$publickey cloudstack@apache.org" >> $authorized

which restorecon && restorecon -R -v $sshdir

Expand Down