The do_sysprep method was not updated to comply with the changes
made in list_syspreps method
self.out.output('Preparing system for image creation:')
self.out.output('Preparing system for image creation:')
- tasks, _ = self.list_syspreps()
- size = len(tasks)
+ tasks = self.list_syspreps()
+ enabled = filter(lambda x: x.enabled, tasks)
+
+ size = len(enabled)
cnt += 1
self.out.output(('(%d/%d)' % (cnt, size)).ljust(7), False)
task()
cnt += 1
self.out.output(('(%d/%d)' % (cnt, size)).ljust(7), False)
task()