diff --git a/confluent_osdeploy/el8/profiles/default/scripts/syncfileclient b/confluent_osdeploy/el8/profiles/default/scripts/syncfileclient index dd22d6b3..e6884d50 100644 --- a/confluent_osdeploy/el8/profiles/default/scripts/syncfileclient +++ b/confluent_osdeploy/el8/profiles/default/scripts/syncfileclient @@ -134,7 +134,9 @@ class CredMerger: else: self.discardnames[name] = 1 else: - if uid >= minid and uid <= maxid: + if name[0] in ('+', '#', '@'): + self.sourcedata.append(line) + elif uid >= minid and uid <= maxid: self.sourcedata.append(line) def read_shadow(self, source): @@ -167,6 +169,8 @@ class CredMerger: shadout.write(line + '\n') for line in self.sourcedata: name, _ = line.split(':', 1) + if name[0] in ('+', '#', '@'): + continue if name in self.shadowednames: continue shadout.write(name + ':!:::::::\n') @@ -216,4 +220,4 @@ def synchronize(): if __name__ == '__main__': - synchronize() \ No newline at end of file + synchronize()