As reported by Alan, Toolbox implemention causes troubles with executing
scripts. Switching to open VM tools fixes the issue.
Testing:
Old version returns
A general system error occurred: vix error codes = (35, 0).
When executing
Invoke-VMScript -vm $vm -GuestUser "root" -GuestPassword "password" -ScriptType Bash -ScriptText "touch /myfile"
New version runs without an error and the script executes (file is
created).
As reported by Alan, Toolbox implemention causes troubles with executing scripts. Switching to open VM tools fixes the issue.
Testing: Old version returns
A general system error occurred: vix error codes = (35, 0).
When executingInvoke-VMScript -vm $vm -GuestUser "root" -GuestPassword "password" -ScriptType Bash -ScriptText "touch /myfile"
New version runs without an error and the script executes (file is created).