mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Maybe this will get the MSI to install...
This commit is contained in:
parent
1d6558afde
commit
0c91f8bb1c
1 changed files with 6 additions and 0 deletions
|
@ -1053,6 +1053,12 @@ class VM:
|
|||
if ret.returncode != 0:
|
||||
self.ctx.exit(ret.returncode, ret.stderr.strip())
|
||||
|
||||
# Maybe this will fix the issue with the MSI not installing
|
||||
cmd = ["icacls", remote_path, "/grant", "Administrator:(OI)(CI)F", "/T"]
|
||||
ret = self.run(cmd, capture=True, check=False)
|
||||
if ret.returncode != 0:
|
||||
self.ctx.exit(ret.returncode, ret.stderr.strip())
|
||||
|
||||
def write_and_upload_dot_env(self, env: dict[str, str]):
|
||||
if not env:
|
||||
return
|
||||
|
|
Loading…
Add table
Reference in a new issue