summaryrefslogtreecommitdiffstats
path: root/install/ui/automount.js
diff options
context:
space:
mode:
Diffstat (limited to 'install/ui/automount.js')
-rw-r--r--install/ui/automount.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/install/ui/automount.js b/install/ui/automount.js
index 80f5e143..db5e403c 100644
--- a/install/ui/automount.js
+++ b/install/ui/automount.js
@@ -153,6 +153,16 @@ IPA.automount.map_entity = function(spec) {
IPA.automount.key_entity = function(spec) {
+ spec = spec || {};
+
+ spec.policies = spec.policies || [
+ IPA.facet_update_policy({
+ source_facet: 'details',
+ dest_entity: 'automountmap',
+ dest_facet: 'keys'
+ })
+ ];
+
var that = IPA.entity(spec);
that.init = function() {