]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
sysvinit: use known hostname $host instead of (incorrectly) recalculating
authorSage Weil <sage@inktank.com>
Wed, 22 May 2013 16:47:03 +0000 (09:47 -0700)
committerSage Weil <sage@inktank.com>
Wed, 22 May 2013 19:39:10 +0000 (12:39 -0700)
commitcaa15a34cb5d918c0c8b052cd012ec8a12fca150
tree7484b66d68481584efabe2b58f3548764c8eee12
parent0289c445be0269157fa46bbf187c92639a13db46
sysvinit: use known hostname $host instead of (incorrectly) recalculating

We would need to do hostname -s on the remote node, not the local one.
But we already have $host; use it!

Reported-by: Xiaoxi Chen <xiaoxi.chen@intel.com>
Signed-off-by: Sage Weil <sage@inktank.com>
src/init-ceph.in