Change to CMD % style path is no longer required
This commit is contained in:
parent
5b652316d9
commit
5419375413
|
@ -571,8 +571,5 @@ func (p *Provisioner) generateElevatedRunner(command string) (uploadedPath strin
|
|||
if err != nil {
|
||||
return "", fmt.Errorf("Error preparing elevated powershell script: %s", err)
|
||||
}
|
||||
|
||||
// CMD formatted Path required for this op
|
||||
path = fmt.Sprintf("%s-%s.ps1", "%TEMP%/packer-elevated-shell", uuid)
|
||||
return path, err
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue