diff options
Diffstat (limited to 'src/sbin')
-rw-r--r-- | src/sbin/bcfg2 | 7 |
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() |