charmrun FT: Fix wrong output in ssh script during recovery from node crash25/925/3
commita85206fef0a5752ad7d2f228cc98e6799f59b89e
authorJuan Galvez <jjgalvez@illinois.edu>
Tue, 1 Dec 2015 20:16:23 +0000 (1 14:16 -0600)
committerPhil Miller <mille121@illinois.edu>
Thu, 3 Dec 2015 22:29:28 +0000 (3 17:29 -0500)
treea758c29493518ab38357abb899998e8c76544ee2
parent65b75d134bdf2f5b24603ac0861345d884bd0ee5
charmrun FT: Fix wrong output in ssh script during recovery from node crash

The ssh script was written before the new host is chosen, and so
the hostname in the ssh script could be incorrect. Fix this by
choosing the new host right before the script is written.

Change-Id: I7546aec4813dd75d8b5109d379ec4e9848bf1a85
src/util/charmrun-src/charmrun.C