Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 17:38:20 (develop) ~/dev/parkapp/website/migrations$ for i in $(cat ../../devops/inventories/b2b/hosts | cut -d"=" -f2 -s); do export host=$i; echo $host; function mysql() { ssh operator@$host -t "/usr/bin/mysql \"$@\""; }; export -f mysql; ./update_db.sh; done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement