Launch VM from Unix Shell

Discussion in 'Parallels Desktop for Mac' started by jmdevaney, Apr 10, 2006.

  1. jmdevaney

    jmdevaney Member

    Messages:
    33
    Is there a way to launch a VM from the unix shell?

    Something like this would be nice...

    /Applications/Parallels.app/Contents/MacOS/Parallels /Path/To/OS.pvs start
    /Applications/Parallels.app/Contents/MacOS/Parallels /Path/To/OS.pvs pause
    /Applications/Parallels.app/Contents/MacOS/Parallels /Path/To/OS.pvs stop

    My thought is that if I am using my PowerBook G4 and I want to connect to my XP VM install using remote desktop I could secure shell into my iMac and launch the VM.
     
  2. furfurfur

    furfurfur Member

    Messages:
    21
    just wanted to bump this and also mention one way that parallels could implement this is with AppleScript support. Not too cross platform i guess though...
     
  3. jmdevaney

    jmdevaney Member

    Messages:
    33
    What I have done so far is edit the pvs file remotely to set the machine to boot on launch then use the open command to launch the Parallels.app... This will only work for the last booted VM though.
     
  4. jmdevaney

    jmdevaney Member

    Messages:
    33
    This works:

    /Applications/Parallels.app/Contents/MacOS/Parallels /Path/To/machine.pvs &

    Just make sure the machine is set to auto start.
     

Share This Page