diff workers/bin/installInTemplate.sh @ 14:c1c8275bd194

trying to make this work
author Henry S. Thompson <ht@markup.co.uk>
date Thu, 18 Oct 2018 14:30:04 +0000
parents 580221a17890
children 9631fca89cc6
line wrap: on
line diff
--- a/workers/bin/installInTemplate.sh	Fri Oct 12 08:51:50 2018 +0000
+++ b/workers/bin/installInTemplate.sh	Thu Oct 18 14:30:04 2018 +0000
@@ -6,4 +6,6 @@
 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
+sudo adduser --disabled-password -GECOS "CC master" cc
+sudo su -c 'ssh-keygen -t rsa -N "" -f /home/cc/.ssh/id_rsa' cc
+sudo cat ~cc/.ssh/id_rsa.pub