summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbin')
-rwxr-xr-xsrc/sbin/bcfg2-info5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info
index 12f7f381f..0bb315f7c 100755
--- a/src/sbin/bcfg2-info
+++ b/src/sbin/bcfg2-info
@@ -176,6 +176,10 @@ Usage: [quit|exit]"""
data.append((group, prof, cat, ','.join(gdata)))
printTabular(data)
+ def complete_showclient(self, text, line, begidx, endidx):
+ return [entry for entry in self.metadata.clients \
+ if entry.startswith(text)]
+
def do_showclient(self, args):
''' print host metadata'''
data = [('Client', 'Profile', "Groups", "Bundles")]
@@ -243,7 +247,6 @@ if __name__ == '__main__':
else:
cfile = '/etc/bcfg2.conf'
- #bcore = Bcfg2.Server.Core.Core({}, cfile)
loop = infoCore(cfile)
while loop.cont:
try: