Fixed using local Windows images
This commit is contained in:
parent
6eef031ebf
commit
43e8746c46
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ def find_windows_image(windows_version):
|
||||||
path = '{}images\{}.{}'.format(d.mountpoint, imagefile, ext)
|
path = '{}images\{}.{}'.format(d.mountpoint, imagefile, ext)
|
||||||
if os.path.isfile(path) and wim_contains_image(path, imagename):
|
if os.path.isfile(path) and wim_contains_image(path, imagename):
|
||||||
image['Path'] = path
|
image['Path'] = path
|
||||||
image['Source'] = letter
|
image['Source'] = d.mountpoint[:1]
|
||||||
if ext == 'swm':
|
if ext == 'swm':
|
||||||
image['Glob'] = '--ref="{}*.swm"'.format(image['Path'][:-4])
|
image['Glob'] = '--ref="{}*.swm"'.format(image['Path'][:-4])
|
||||||
break
|
break
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue