view workers/bin/installInTemplate.sh @ 10:2fbefb8d1a9e

wrun.sh: usage catchup invoke.sh: force terminal allocation on workers test1.sh: support control of number of worker processes are spawned, support -t to turn off random delay at startup count1.sh: actual do the counting in subprocs to avoid disk contention
author Henry S. Thompson <ht@markup.co.uk>
date Mon, 08 Oct 2018 13:17:23 +0000
parents 580221a17890
children c1c8275bd194
line wrap: on
line source

#!/bin/bash
sudo apt-get -y install python3 parallel psmisc jq mercurial curl
curl -L https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
echo "deb [arch=amd64] https://packages.microsoft.com/repos/azure-cli/ jessie main" |\
    sudo tee /etc/apt/sources.list.d/azure-cli.list
sudo apt-get -y --force-yes install apt-transport-https
sudo apt-get -y update
sudo apt-get -y install azure-cli
#sudo cat ~cc/.ssh/id_rsa.pub