apply fix for setting kickstart url to livemedia as well

see: 86ca706 and e7abc97
This commit is contained in:
Mike McLean 2016-01-29 05:42:47 -05:00
parent a968d11adb
commit c0fb079d12

View file

@ -2613,7 +2613,7 @@ class ImageTask(BaseTaskHandler):
self.ks.handler.repo.repoList.append(repo_class(baseurl=baseurl, name='koji-%s-%i' % (target_info['build_tag_name'], repo_info['id'])))
#inject url if provided
if opts.get('install_tree_url'):
self.ks.handler.url.url = opts['install_tree_url']
ks.handler.url(url=opts['install_tree_url'])
# Write out the new ks file. Note that things may not be in the same
# order and comments in the original ks file may be lost.