Updated Branches: refs/heads/trunk 3bc7d8336 -> be216e19f
AMBARI-2834. Utility script to generate keytabs is broken. (jaimin via yusaku) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/be216e19 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/be216e19 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/be216e19 Branch: refs/heads/trunk Commit: be216e19fc7e693426229d9c5b84de8e7dab4750 Parents: 3bc7d83 Author: Yusaku Sako <[email protected]> Authored: Wed Aug 7 11:11:25 2013 -0700 Committer: Yusaku Sako <[email protected]> Committed: Wed Aug 7 11:11:25 2013 -0700 ---------------------------------------------------------------------- ambari-server/src/main/resources/scripts/keytabs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/be216e19/ambari-server/src/main/resources/scripts/keytabs.sh ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/resources/scripts/keytabs.sh b/ambari-server/src/main/resources/scripts/keytabs.sh index bc368e1..97ab385 100755 --- a/ambari-server/src/main/resources/scripts/keytabs.sh +++ b/ambari-server/src/main/resources/scripts/keytabs.sh @@ -75,7 +75,7 @@ processCSVFile () { echo "mkdir -p ./keytabs_$hostName" >> commands.mkdir; echo "chmod 755 ./keytabs_$hostName" >> commands.chmod; echo "chown -R root:$group `pwd`/keytabs_$hostName" >> commands.chown.1 - echo "tar -cvf keytabs_$hostName.tar keytabs_$hostName" >> commands.tar + echo "tar -cvf keytabs_$hostName.tar -C keytabs_$hostName ." >> commands.tar seenHosts="$seenHosts$hostName"; fi
