tools: Add UPLOAD_USER variable
Signed-off-by: Matt Turner <mattst88@gentoo.org>
This commit is contained in:
parent
16b0dfbc2e
commit
5515e89048
14 changed files with 32 additions and 18 deletions
|
@ -1,6 +1,7 @@
|
|||
# This is the config file for the catalyst-auto script. It should be pretty
|
||||
# self-explanatory.
|
||||
|
||||
UPLOAD_USER=arm
|
||||
host=$(hostname)
|
||||
|
||||
SPECS_DIR=${REPO_DIR}/releases/specs/arm
|
||||
|
@ -55,7 +56,7 @@ update_symlinks() {
|
|||
upload() {
|
||||
if [[ ${nonetwork} == 0 ]]; then
|
||||
echo Uploading "$@"
|
||||
rsync -e 'ssh -i /root/.ssh/id_ed25519 -o UserKnownHostsFile=/dev/null -o VerifyHostKeyDNS=yes -o StrictHostKeyChecking=no' "$@" arm@releng-incoming.gentoo.org:
|
||||
rsync -e 'ssh -i /root/.ssh/id_ed25519 -o UserKnownHostsFile=/dev/null -o VerifyHostKeyDNS=yes -o StrictHostKeyChecking=no' "$@" ${UPLOAD_USER}@releng-incoming.gentoo.org:
|
||||
else
|
||||
echo Would now upload "$@"
|
||||
ls -l $@
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue