Encrypting a Virtual Machine from the Command LineA Parallels virtual machine can be encrypted from the Parallels Desktop graphical user interface. This is done from the Security tab of the virtual machine configuration dialog.
You can also use the
The following command line options are available:
The
The encryption password will also be required to perform any other command line operation on an encrypted virtual machine, including starting, stopping, restarting, pausing, suspending, cloning, deleting a virtual machine, etc. For example, to start an encrypted virtual machine, you'll use the following command: $ prlctl start my_virtual_machine After executing the command above, you'll be asked to enter the password: Virtual machine "my_virtual_machine" is encrypted - password required to continue operation Please enter password: After typing in the correct password, you'll see the following output: Starting the VM... The VM has been successfully started. If you need to execute a command remotely without having to enter the password on every Mac, you can send the password via standard input (stdin) as shown in the following example: $ echo mypass | prlctl start my_virtual_machine Virtual machine 'my_virtual_machine' is encrypted - password required to continue operation Please enter password: Starting the VM... The VM has been successfully started.
If you need to provide two passwords (as with the
$ cat /tmp/pass | prlctl change-passwd my_virtual_machine Virtual machine 'my_virtual_machine' is encrypted - password required to continue operation Please enter password: Please enter new password: The password has been successfully changed.
The
$ cat /tmp/pass mypass newpass |
||||
|