Mercurial > hg > cc > azure
annotate master/bin/setupTemplate.sh @ 68:1f04bce6ead7 default tip
use basefile instead of transferfile, and remove cleanup: belt and braces wrt lossage of sac_schemes.py in 15% of 1000_k3,
this as used in a_2
author | Henry S. Thompson <ht@markup.co.uk> |
---|---|
date | Thu, 04 Jun 2020 20:44:44 +0000 |
parents | cc065b2a2543 |
children |
rev | line source |
---|---|
5
580221a17890
comment out a lot not needed for vmss
Henry S. Thompson <ht@markup.co.uk>
parents:
4
diff
changeset
|
1 #!/bin/bash |
4 | 2 ip=$1 |
14 | 3 ssh -o StrictHostKeyChecking=no $ip </var/cc/workers/bin/installInTemplate.sh | tee /dev/stderr | tail -1 | sudo tee -a ~cc/.ssh/authorized_keys >/dev/null |
6 | 4 ( cd ~ && tar -czf - .azure ) | ssh $ip "tar -xzf -" |
23
cc065b2a2543
more tweaks wrt getting H4 going
Henry S. Thompson <ht@markup.co.uk>
parents:
14
diff
changeset
|
5 ssh -o StrictHostKeyChecking=no $ip "sudo su -c 'cd ~/.ssh && cat >authorized_keys' cc" < /var/cc/ak |