AMBARI-21488 Default Base URL should be there for OS_TYPE=redhat-ppc6 in IBM 
Power and change the OS _TYPE to redhat7-ppc64, second patch. (atkach)

(cherry picked from commit 06661308259ae08ff21f33d4dd1e2e81ab9e74e3)

Change-Id: Ib6981e677ba276bf777e95d4b45b43cb1a1acded


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/5e1bfb7a
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/5e1bfb7a
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/5e1bfb7a

Branch: refs/heads/2.5-maint
Commit: 5e1bfb7a6f4fcc216d4931960a4cb9f013001415
Parents: 6d2bab1
Author: Andrii Tkach <[email protected]>
Authored: Thu Aug 17 16:14:31 2017 +0300
Committer: [email protected] <[email protected]>
Committed: Thu Aug 17 14:51:10 2017 +0000

----------------------------------------------------------------------
 ambari-web/app/controllers/installer.js | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/5e1bfb7a/ambari-web/app/controllers/installer.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/controllers/installer.js 
b/ambari-web/app/controllers/installer.js
index 77d5a5c..ccf03de 100644
--- a/ambari-web/app/controllers/installer.js
+++ b/ambari-web/app/controllers/installer.js
@@ -702,9 +702,6 @@ App.InstallerController = 
App.WizardController.extend(App.UserPref, {
     response.operating_systems.forEach(function(supportedOS) {
       if(!existedMap[supportedOS.OperatingSystems.os_type]) {
         supportedOS.isSelected = false;
-        supportedOS.repositories.forEach(function(repo) {
-          repo.Repositories.base_url = '';
-        });
         existedOS.push(supportedOS);
       } else if (stack_default) { // only overwrite if it is stack default, 
otherwise use url from /version_definition
         
existedMap[supportedOS.OperatingSystems.os_type].repositories.forEach(function 
(repo) {

Reply via email to