]> git.nbdom.net Git - nb.git/commitdiff
etc/profile.d/pdsh.sh
authorNicolas Boisselier <nicolas.boisselier@gmail.com>
Fri, 8 Mar 2019 14:22:35 +0000 (14:22 +0000)
committerNicolas Boisselier <nicolas.boisselier@gmail.com>
Fri, 8 Mar 2019 14:22:35 +0000 (14:22 +0000)
etc/profile.d/pdsh.sh [new file with mode: 0644]

diff --git a/etc/profile.d/pdsh.sh b/etc/profile.d/pdsh.sh
new file mode 100644 (file)
index 0000000..4ab3da4
--- /dev/null
@@ -0,0 +1,3 @@
+which pdsh > /dev/null || return 0
+export PDSH_RCMD_TYPE=ssh
+[ -r ~/.hosts.pdsh ] && export WCOLL=~/.hosts.pdsh