Skip to content

Instantly share code, notes, and snippets.

@koolhead17
Created September 30, 2016 03:36
Show Gist options
  • Select an option

  • Save koolhead17/ca23c6930f35592d210917fccaa2308f to your computer and use it in GitHub Desktop.

Select an option

Save koolhead17/ca23c6930f35592d210917fccaa2308f to your computer and use it in GitHub Desktop.
script to scp Minio binary, configuration file and starting distributed cluster.
#!/bin/bash
for dest in $(<pine64Iplist.txt); do
scp ~/.minio/config.json ${dest}:/home/minio/.minio
scp -p ~/minio ${dest}:/home/minio/
scp -p ~/clusterstart.sh ${dest}:/home/minio/
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment