view workers/bin/installInTemplate.sh @ 9:55e953e5c66f

wrun.sh, invoke.sh: add control of use of nohup, with -i(mmediately) and -w(ait) respectively wrun.sh: add support for fixed file input via -ff, handle -ff - in obvious way wbash.sh: use -ff - and -i to execute shell commands on all workers
author Henry S. Thompson <ht@markup.co.uk>
date Tue, 02 Oct 2018 10:52:45 +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