summaryrefslogtreecommitdiffstats
path: root/src/sbin
diff options
context:
space:
mode:
Diffstat (limited to 'src/sbin')
-rw-r--r--src/sbin/bcfg27
1 files changed, 7 insertions, 0 deletions
diff --git a/src/sbin/bcfg2 b/src/sbin/bcfg2
index e315012d5..a5b88a475 100644
--- a/src/sbin/bcfg2
+++ b/src/sbin/bcfg2
@@ -88,6 +88,13 @@ if __name__ == '__main__':
print "got error from server"
exit(1)
+ if setup['bundle']:
+ c = XML("<Configuration version='2.0/>")
+ for child in cfg.getroot().getchildren():
+ if ((child.tag == 'Bundle') and (child.attrib['name'] == setup['bundle'])):
+ c.append(child)
+ cfg = c
+
client = Debian(cfg, setup)
# verify state
client.Inventory()