def parse(self, img):
- print "Creating %s (%s.ks)" %(img['Name'], img['FileName'] )
conf = copy.copy(image_meta['Default'])
plat = copy.copy(image_meta[img['Platform']])
conf.update(plat)
r = repo_meta['Repositories']
for img in image_meta['Configurations']:
conf = ks.parse(img)
+ print "Creating %s (%s.ks)" %(img['Name'], img['FileName'] )
ks.process_files(conf, r)
for path in image_meta['ExternalConfigs']:
for f in os.listdir(path):
fp = file('%s/%s' %(path, f), 'r')
local = yaml.load(fp)
conf = ks.parse(local)
+ print "Creating %s (%s.ks)" %(conf['Name'], conf['FileName'] )
ks.process_files(conf, r)
if options.indexfile: