try to use isos inplace whatever the os
This commit is contained in:
parent
a19214afeb
commit
8e6bad209b
|
@ -198,9 +198,7 @@ func (s *StepDownload) download(ctx context.Context, ui packer.Ui, source string
|
|||
ProgressListener: ui,
|
||||
Pwd: wd,
|
||||
Mode: getter.ModeFile,
|
||||
}
|
||||
if runtime.GOOS == "windows" {
|
||||
req.Inplace = true
|
||||
Inplace: true,
|
||||
}
|
||||
|
||||
switch op, err := defaultGetterClient.Get(ctx, req); err.(type) {
|
||||
|
|
Loading…
Reference in New Issue