# HG changeset patch # User Henry S. Thompson # Date 1539882094 0 # Node ID 68cca895e87214f6e4066632a146eea502fad727 # Parent c1c8275bd1941a0c9e5bdc285ccec197e38d7af3 make a local bin directory for each worker diff -r c1c8275bd194 -r 68cca895e872 master/bin/internal/vmss_setup.sh --- a/master/bin/internal/vmss_setup.sh Thu Oct 18 14:30:04 2018 +0000 +++ b/master/bin/internal/vmss_setup.sh Thu Oct 18 17:01:34 2018 +0000 @@ -11,5 +11,5 @@ exit 1 fi #Copy azure credentials over and make delete/deallocate commands -(echo $@ --instance-ids $instance; cd ~; tar c .azure) |ssh -o ConnectTimeout=5 -p $port $host 'read a; echo -e '\''#!/bin/bash\n'\''az vmss deallocate $a >deallocate && echo -e '\''#!/bin/bash\n'\''az vmss delete-instances $a >delete && chmod +x deallocate delete && tar x && sudo mv deallocate delete /bin' +(echo $@ --instance-ids $instance; cd ~; tar c .azure) |ssh -o ConnectTimeout=5 -p $port $host 'read a; mkdir bin; echo -e '\''#!/bin/bash\n'\''az vmss deallocate $a >deallocate && echo -e '\''#!/bin/bash\n'\''az vmss delete-instances $a >delete && chmod +x deallocate delete && tar x && sudo mv deallocate delete /bin' echo ssh -p $port $host " #id $instance"