ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From alexantone...@apache.org
Subject [2/2] ambari git commit: AMBARI-8620. weird directory suggestions upon Docker containers (alexantonenko)
Date Wed, 18 Mar 2015 22:07:11 GMT
AMBARI-8620. weird directory suggestions upon Docker containers (alexantonenko)


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

Branch: refs/heads/trunk
Commit: d4607e5f14a5c803f20da4f6dbebb66a06471883
Parents: 6edfe30
Author: Alex Antonenko <hiveww@gmail.com>
Authored: Thu Mar 19 00:05:49 2015 +0200
Committer: Alex Antonenko <hiveww@gmail.com>
Committed: Thu Mar 19 00:07:05 2015 +0200

----------------------------------------------------------------------
 ambari-web/app/models/service_config.js | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/d4607e5f/ambari-web/app/models/service_config.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/models/service_config.js b/ambari-web/app/models/service_config.js
index ce29edf..cb8e5a9 100644
--- a/ambari-web/app/models/service_config.js
+++ b/ambari-web/app/models/service_config.js
@@ -781,6 +781,7 @@ App.ServiceConfigProperty = Em.Object.extend({
 
       mountPointsPerHost = mountPointsPerHost.filter(function (mPoint) {
         return !(['/', '/home'].contains(mPoint.mountpoint)
+        || ['/etc/resolv.conf', '/etc/hostname', '/etc/hosts'].contains(mPoint.mountpoint)
// docker specific mount points
         || mPoint.mountpoint && (mPoint.mountpoint.startsWith('/boot') || mPoint.mountpoint.startsWith('/mnt'))
         || ['devtmpfs', 'tmpfs', 'vboxsf', 'CDFS'].contains(mPoint.type)
         || mPoint.available == 0);


Mime
View raw message