Fixed using local Windows images

This commit is contained in:
2Shirt 2017-12-30 12:04:48 -07:00
parent 6eef031ebf
commit 43e8746c46

View file

@ -50,7 +50,7 @@ def find_windows_image(windows_version):
path = '{}images\{}.{}'.format(d.mountpoint, imagefile, ext)
if os.path.isfile(path) and wim_contains_image(path, imagename):
image['Path'] = path
image['Source'] = letter
image['Source'] = d.mountpoint[:1]
if ext == 'swm':
image['Glob'] = '--ref="{}*.swm"'.format(image['Path'][:-4])
break