tools: Add UPLOAD_KEY
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
parent
5515e89048
commit
3d95cec60b
14 changed files with 28 additions and 14 deletions
|
@ -2,6 +2,7 @@
|
|||
# self-explanatory.
|
||||
|
||||
UPLOAD_USER=riscv
|
||||
UPLOAD_KEY=/root/.ssh/id_rsa
|
||||
|
||||
host=$(hostname)
|
||||
|
||||
|
@ -44,7 +45,7 @@ update_symlinks() {
|
|||
upload() {
|
||||
if [[ ${nonetwork} == 0 ]]; then
|
||||
echo Uploading "$@"
|
||||
rsync -e 'ssh -i /root/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o VerifyHostKeyDNS=yes -o StrictHostKeyChecking=no' "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
|
||||
rsync -e 'ssh -i ${UPLOAD_KEY} -o UserKnownHostsFile=/dev/null -o VerifyHostKeyDNS=yes -o StrictHostKeyChecking=no' "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue