only export authorized_keys to some hosts
[mirror/userdir-ldap.git] / ud-generate
index b60e171..9629d58 100755 (executable)
@@ -1135,6 +1135,9 @@ for host in HostAttrs:
       GenDNS(OutDir + "dns-zone")
       GenSSHFP(OutDir + "dns-sshfp")
 
+   if 'AUTHKEYS' in ExtraList:
+      DoLink(GlobalDir, OutDir, "authorized_keys")
+
    if 'BSMTP' in ExtraList:
       GenBSMTP(OutDir + "bsmtp", HomePrefix)