Execute a Command in a Virtual Machine
prlctl exec <vm_id | vm_name> <command>
Executes a command inside a virtual machine. Parallels Tools must be installed in the virtual machine. Commands in Linux guests are invoked with bash -c.
Optional Parameters
--current-user or --user <user_name>
Include the --current-user option to log in as the user currently logged in inside the guest OS; or use the --user parameter and specify a user name.
--password <password>
The user password
-r, --resolve-paths
Enable converting host paths to guest.
Last updated