Installing Parallels Tools automatically

Discussion in 'Parallels Provider for Vagrant' started by Alexander3, Jul 23, 2015.

  1. Alexander3

    Alexander3 Bit poster

    Messages:
    5
    Hello!
    1. Is there any difference between defining "update_guest_tools = true" (no parallels-tools.iso mounted) Vagrantfile option and following code (parallels-tools.iso is mounted:
      Code:
      # Mount parallels tools cd
      mount /dev/cdrom /media/cdrom
      # Run parallels tools installer in unattanded mode
      /media/cdrom/install --install-unattended-with-deps
      
    2. What is the most simple command-line way to detect full path to VM?
    3. Is it possible to configure where VM should be created via Vagrantfile (i saw that vagrant-parallels support prlctl params, and prlctl has --dst parameter)?
     
    Last edited: Jul 23, 2015
  2. 1. These actions are pretty the same. The only difference is that using the Vagrant provider option "update_guest_tools" it will do a pre-check whether Parallels Tools is up-to-date or not. But if you just run "/media/cdrom/install", it doesn't not check anything and starts installation process each time you run it.

    2. Just run "prlctl list -i <vm_name_or_uuid>", and take the "Home: " value
    Code:
    $ prlctl list -i 771adf09-0d1f-4333-afb9-bbfbcecb7685 | sed -n "s/[ ]*Home:[ ]*//gp"
    /Users/legal/Documents/Parallels/vagrant-test-b2d_default_1437596094558_66115.pvm/
    3. Currently there is no such option for Vagrant Parallels provider and the VM is creating in the default folder, which can be configured globally in "Parallels Desktop -> Preferences -> General -> Virtual Machines Folder"
    But it sounds like a good enhancement and might be implemented in the future. BTW, pull requests on GitHub repo are always welcome ;)
     
    Last edited by a moderator: Jul 24, 2015
  3. Alexander3

    Alexander3 Bit poster

    Messages:
    5
    Thanks for reply!
     

Share This Page