Skip to content
almir edited this page Aug 25, 2011 · 7 revisions

VMware VMs Linux startup script

Installation

  1. Add my Launchpad repositories and PGP key to your system:

    • To add the repositories and the PGP key automatically type
      sudo add-apt-repository ppa:almirdz/ppa
      followed by
      sudo apt-get update
      to refresh the local packages’ list.

    • To manually add the repositories do the following:
      sudo vim /etc/apt/sources.list.d/almirdz-ppa.list
      and put the links to the repositories for your Ubuntu version, eg.:
      deb http://ppa.launchpad.net/almirdz/ppa/ubuntu natty main
      deb-src http://ppa.launchpad.net/almirdz/ppa/ubuntu natty main
      Then, add the PGP key to the list of trusted keys:
      sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 3604082A
      After all is done run
      sudo apt-get update
      to refresh the local packages’ list.

  2. Install the package by simply typing:
    sudo apt-get install vmsctrl

IMPORTANT: The path where virtual machines are stored, or the name of the virtual machine itself, must not contain spaces in order for script to work properly. Also, the path to the vmrun must be configured within the environment variables.

Clone this wiki locally