Mercurial > hg > cc > azure
comparison workers/bin/installInTemplate.sh @ 18:9631fca89cc6
F2-related stuff, and new experiment
author | Henry S. Thompson <ht@markup.co.uk> |
---|---|
date | Fri, 19 Oct 2018 14:25:19 +0000 |
parents | c1c8275bd194 |
children | cc065b2a2543 |
comparison
equal
deleted
inserted
replaced
17:2a2c1fb03c54 | 18:9631fca89cc6 |
---|---|
5 sudo tee /etc/apt/sources.list.d/azure-cli.list | 5 sudo tee /etc/apt/sources.list.d/azure-cli.list |
6 sudo apt-get -y --force-yes install apt-transport-https | 6 sudo apt-get -y --force-yes install apt-transport-https |
7 sudo apt-get -y update | 7 sudo apt-get -y update |
8 sudo apt-get -y install azure-cli | 8 sudo apt-get -y install azure-cli |
9 sudo adduser --disabled-password -GECOS "CC master" cc | 9 sudo adduser --disabled-password -GECOS "CC master" cc |
10 sudo su -c 'ssh-keygen -t rsa -N "" -f /home/cc/.ssh/id_rsa' cc | 10 if [ ! -d ~cc/.ssh ] |
11 then | |
12 sudo su -c 'ssh-keygen -t rsa -N "" -f /home/cc/.ssh/id_rsa' cc | |
13 fi | |
11 sudo cat ~cc/.ssh/id_rsa.pub | 14 sudo cat ~cc/.ssh/id_rsa.pub |