How to Write an Ubuntu Script to Launch VMware With a Password

104 14
    • 1). Launch gedit.

    • 2). Type:

      #!/bin/bash

      vmrun -T server -h '<local or remote host (with a fully qualified domain name>:8333/sdk' -u root -p '<password>' start "<path to virtual machine>"

      in the new file.

    • 3). Save the file.

    • 4). Launch a console session and navigate to the directory where you saved the file.

    • 5). Type "chmod 755 <filename>" using the name of the file you just saved.

    • 6). Type "./<your filename>" to start a virtual machine.

Source...
Subscribe to our newsletter
Sign up here to get the latest news, updates and special offers delivered directly to your inbox.
You can unsubscribe at any time

Leave A Reply

Your email address will not be published.