]> git.apps.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 20:26:01 +0000 (13:26 -0700)
commit674e75bc0783cd9befe9c20e36fbc2cfdac62e5a
treeef2fff9bfb0e59ec26b7c00da9d60f099af95d3b
parentf4cd61d339419738355a26d7f4fce04eac9dedee
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>
(cherry picked from commit caa15a34cb5d918c0c8b052cd012ec8a12fca150)
src/init-ceph.in