sudo apt-get install nodejs-legacy ansible # Download azure CLI ./azure login ./azure config mode asm # A0 instances seem cheaper per credit for i in seq $(seq 1 20) do ./azure vm create -v -l 'East US' -z Basic_A0 -e 22 -t ~/.ssh/id_dsa.pem clonedagain-a0-$i b39f27a8b8c64d52b05eac6a62ebad85__Ubuntu-15_10-amd64-server-20151116.1-en-us-30GB io 'password-here' echo clonedagain-a0-$i >> azure-hosts done ansible -i azure-hosts -m apt -a "boinctui,boinc-client" -s '*' ansible -i azure-hosts -a 'boinccmd --join_acct_mgr http://bam.boincstats.com 155791_83b32536d236bf6be6c5a6aa75879622 dummy_pwd' '*' ansible -i azure-hosts -a 'boinccmd --set_network_mode always' '*' ansible -i azure-hosts -a 'boinccmd --set_run_mode always' '*'