Repository: ambari Updated Branches: refs/heads/trunk 841a69d28 -> 11c63bc57
AMBARI-5532. Bootstrap fails on ubuntu (dlysnichenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/11c63bc5 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/11c63bc5 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/11c63bc5 Branch: refs/heads/trunk Commit: 11c63bc572db7486e98d52c6dec0046ec2f6d0d9 Parents: 841a69d Author: Lisnichenko Dmitro <dlysniche...@hortonworks.com> Authored: Wed Apr 23 15:30:12 2014 +0300 Committer: Lisnichenko Dmitro <dlysniche...@hortonworks.com> Committed: Wed Apr 23 15:30:12 2014 +0300 ---------------------------------------------------------------------- ambari-server/src/main/python/bootstrap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/11c63bc5/ambari-server/src/main/python/bootstrap.py ---------------------------------------------------------------------- diff --git a/ambari-server/src/main/python/bootstrap.py b/ambari-server/src/main/python/bootstrap.py index f2548a8..9e5ae1b 100755 --- a/ambari-server/src/main/python/bootstrap.py +++ b/ambari-server/src/main/python/bootstrap.py @@ -274,7 +274,7 @@ class Bootstrap(threading.Thread): return self.getMoveRepoFileWithoutPasswordCommand(targetDir) def getAptUpdateCommand(self): - return "apt-get update -o Dir::Etc::sourcelist=\"%s/%s\" -o API::Get::List-Cleanup=\"0\" --no-list-cleanup" %\ + return "sudo apt-get update -o Dir::Etc::sourcelist=\"%s/%s\" -o API::Get::List-Cleanup=\"0\" --no-list-cleanup" %\ ("sources.list.d", self.AMBARI_REPO_FILENAME) def copyNeededFiles(self):