Mercurial > hg > cc > azure
diff master/bin/makeWorker.sh @ 5:580221a17890
comment out a lot not needed for vmss
author | Henry S. Thompson <ht@markup.co.uk> |
---|---|
date | Fri, 28 Sep 2018 17:15:05 +0000 |
parents | 56d8823c68e0 |
children | c1c8275bd194 |
line wrap: on
line diff
--- a/master/bin/makeWorker.sh Fri Sep 28 15:18:07 2018 +0000 +++ b/master/bin/makeWorker.sh Fri Sep 28 17:15:05 2018 +0000 @@ -1,5 +1,7 @@ -#!/usr/bin/bash +#!/bin/bash # Usage . makeWorker.sh name +# Misnamed -- it assumes you've already done +# az vm create -n [name] -g cc --image Debian --size Standard_... # Source this to get the worker name set to its IP address name=$1 ip=$(az vm list-ip-addresses -g cc -n $name|egrep -o '"ipAddress": ".*"' | cut -f 2 -d ' ' | tr -d \")