Quick demonstration of some wrapper functions around Tramp and Shell commands that allow me to kick off commands on multiple remote hosts.
To grab the source code, hop over to https://github.com/howardabrams/dot-files/blob/master/emacs-eshell.org#shell-there
I promised that I would give the source to the function that populates the map of hosts and their IP address. Keep in mind, you could just hard-code those values if you wish (as it is just a hash-table). However, this is what I wrote to call to an OpenStack system to populate that hashmap, so to see that, check out this gist: https://gist.github.com/howardabrams/e7237b6bbd9e84bcc353bde13213576a
4 Comments