AMBARI-25096 Cluster Installation fails when installing the cluster via Redhat satellite repositories (no internet connectivity Cluster) (asnaik)
diff --git a/ambari-web/app/controllers/installer.js b/ambari-web/app/controllers/installer.js
index 82aa615..c3d9cb1 100644
--- a/ambari-web/app/controllers/installer.js
+++ b/ambari-web/app/controllers/installer.js
@@ -890,8 +890,10 @@
if (!verifyBaseUrl) {
dfd.resolve();
}
+ //for redhat satellite/spacewalk the os urls will be empty
+ var useRedhatSatellite = wizardStep1Controller.get('selectedStack.useRedhatSatellite');
selectedStack.get('operatingSystems').forEach(function (os) {
- if (os.get('isSelected') && !os.get('isEmpty')) {
+ if (os.get('isSelected') && (useRedhatSatellite || !os.get('isEmpty'))) {
os.get('repositories').forEach(function (repo) {
if (repo.get('showRepo')) {
repo.setProperties({