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=amd64
|
||||
UPLOAD_KEY=/root/.ssh/id_rsa
|
||||
host=$(hostname)
|
||||
|
||||
source /etc/catalyst/release/build.env
|
||||
|
@ -67,7 +68,7 @@ update_symlinks() {
|
|||
upload() {
|
||||
echo " ** Uploading $@"
|
||||
rsync \
|
||||
-e 'ssh -i /root/.ssh/id_rsa -o UserKnownHostsFile=/dev/null -o VerifyHostKeyDNS=yes -o StrictHostKeyChecking=no' \
|
||||
-e 'ssh -i ${UPLOAD_KEY} -o UserKnownHostsFile=/dev/null -o VerifyHostKeyDNS=yes -o StrictHostKeyChecking=no' \
|
||||
-a \
|
||||
--omit-dir-times \
|
||||
--delay-updates \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue