annotate workers/bin/installInTemplate.sh @ 6:a3b30e707e83

assume we are cc
author Henry S. Thompson <ht@markup.co.uk>
date Sat, 29 Sep 2018 14:50:30 +0000
parents 580221a17890
children c1c8275bd194
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
56d8823c68e0 pretty much complete...
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
2 sudo apt-get -y install python3 parallel psmisc jq mercurial curl
56d8823c68e0 pretty much complete...
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
3 curl -L https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
56d8823c68e0 pretty much complete...
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
4 echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ jessie main" |\
56d8823c68e0 pretty much complete...
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
5 sudo tee /etc/apt/sources.list.d/azure-cli.list
56d8823c68e0 pretty much complete...
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
6 sudo apt-get -y --force-yes install apt-transport-https
56d8823c68e0 pretty much complete...
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
7 sudo apt-get -y update
56d8823c68e0 pretty much complete...
Henry S. Thompson <ht@markup.co.uk>
parents:
diff changeset
8 sudo apt-get -y install azure-cli
5
580221a17890 comment out a lot not needed for vmss
Henry S. Thompson <ht@markup.co.uk>
parents: 4
diff changeset
9 #sudo cat ~cc/.ssh/id_rsa.pub