Parallels Provider for Vagrant Using plugin for Vagrant with Parallels Desktop for Mac Thu, 01 Aug 2024 14:18:23 +0000 Thu, 01 Aug 2024 14:18:23 +0000 Parallels Forums https://forum.parallels.com/forums/parallels-provider-for-vagrant.737/ Help with "No usable default provider could be found for your system." Tue, 02 Jul 2024 14:55:19 +0000 https://forum.parallels.com/threads/help-with-no-usable-default-provider-could-be-found-for-your-system.364493/ https://forum.parallels.com/threads/help-with-no-usable-default-provider-could-be-found-for-your-system.364493/ invalid@example.com (RickS15) RickS15
  • Parallel Desktop 19
  • MacOS 14.4.1
  • MBP M2
I had installed Vagrant and got a succesful set up of a CentOS9 and Ubuntu 22.04 boxes. They were running great! I could get them to come up and connect, suspend them, etc.

I started this because, for a project at work, one of the developers wants to switch from a docker development environment to a Vagrant development environment. After checking out the repo and trying to bring up the development machine (based...

Help with "No usable default provider could be found for your system."]]>
1
Debian 12 loses Dns on resolv.conf - Network Manager Wed, 29 May 2024 07:03:01 +0000 https://forum.parallels.com/threads/debian-12-loses-dns-on-resolv-conf-network-manager.364204/ https://forum.parallels.com/threads/debian-12-loses-dns-on-resolv-conf-network-manager.364204/ invalid@example.com (GianmarcoM) GianmarcoM I've installed 6 Debian 12 virtual machines on parallels 19.4.0 (Mac Mini M2 Pro), from the same base image, kernel 6.1.0, with only 1 network interface bridged on default adapter (wired lan).
My network configuration is done via Ansible using Network Manager and everything works fine, but at a certain point, the dns configuration is lost. I tried to find logs or events related but nothing.
Via network manager I configure 2 dns and the resolv.conf file is correct, like this:
Code:
#...
Debian 12 loses Dns on resolv.conf - Network Manager]]>
Vagrant, first shared network card and fixed ip address Thu, 14 Mar 2024 16:03:47 +0000 https://forum.parallels.com/threads/vagrant-first-shared-network-card-and-fixed-ip-address.363422/ https://forum.parallels.com/threads/vagrant-first-shared-network-card-and-fixed-ip-address.363422/ invalid@example.com (WS010) WS010
Vagrant uses the first shared network nic and is getting an ip address from the internal dhcp server. Is it possible to set a fixed ip address on that first shared network nic?

If not, can I add a second shared network nic with a fixed ip address? If so, is there an example how? Thanks!]]>
1
Cannot run multiple Laravel Homestead boxes Mon, 30 Oct 2023 14:22:23 +0000 https://forum.parallels.com/threads/cannot-run-multiple-laravel-homestead-boxes.361918/ https://forum.parallels.com/threads/cannot-run-multiple-laravel-homestead-boxes.361918/ invalid@example.com (ad_4) ad_4 I cannot get a second box to come up if one is already running. I'm using Laravel Homestead (which is using Laravel Settler as a box "provider" and that in turn seems to be based on the bento ubuntu image of ubuntu 20.04.05, box is called `laravel/homestead-arm`) with a local install on 2 separate repositories. This used to work fine for me on my previous, Intel Macbook, with both Virtualbox and Parallels as Vagrant providers. However it doesn't work on the M1 Mac.

It appears to be...

Cannot run multiple Laravel Homestead boxes]]>
1
Parallels 18 vagrant multi-machine issues Wed, 12 Apr 2023 11:08:14 +0000 https://forum.parallels.com/threads/parallels-18-vagrant-multi-machine-issues.360012/ https://forum.parallels.com/threads/parallels-18-vagrant-multi-machine-issues.360012/ invalid@example.com (BillW16) BillW16
I'm running into several issues with the parallels provider for Vagrant when using multi-machine configuration. I've reset all settings in Parallels - everything should be the default values.

I've been using a basic Vagrant file with the following for troubleshooting:
Code:
Vagrant.configure("2") do |config|
  config.vm.provision "shell", inline: "echo Hello"...
Parallels 18 vagrant multi-machine issues]]>
2
Paralelsl virtualization platform Sun, 29 Jan 2023 18:51:03 +0000 https://forum.parallels.com/threads/paralelsl-virtualization-platform.359622/ https://forum.parallels.com/threads/paralelsl-virtualization-platform.359622/ invalid@example.com (emmal8) emmal8
  • Parallels Provider for Vagrant is a plugin for Vagrant, a popular open-source tool for building and managing virtual machine environments. It allows users to create and manage virtual machines on the Parallels virtualization platform, making it easier to build and test software.
  • ]]>
    Russian restrictions Tue, 13 Dec 2022 17:20:43 +0000 https://forum.parallels.com/threads/russian-restrictions.359268/ https://forum.parallels.com/threads/russian-restrictions.359268/ invalid@example.com (VladimirI5) VladimirI5 packer build with ubuntu waits for select language Fri, 16 Sep 2022 19:52:32 +0000 https://forum.parallels.com/threads/packer-build-with-ubuntu-waits-for-select-language.358504/ https://forum.parallels.com/threads/packer-build-with-ubuntu-waits-for-select-language.358504/ invalid@example.com (RobertC48) RobertC48 type = string
    default = "5035be37a7e9abbdc09f0d257f3e33416c1a0fb322ba860d42d74aa75c3468d4"
    }

    variable "iso_url" {
    type = string
    default = "ubuntu-20.04.5-live-server-amd64.iso"
    }

    # boot_command issues solved by:
    # https://github.com/hashicorp/packer/issues/9115

    source "parallels-iso" "ubuntu-pa" {
    boot_command = [
    "<tab><tab><tab><tab><tab><c><wait><bs><bs>",
    "linux /casper/vmlinuz --- autoinstall...

    packer build with ubuntu waits for select language]]>
    Stuck on "Installing Parallels Tools" Sun, 11 Sep 2022 11:54:13 +0000 https://forum.parallels.com/threads/stuck-on-installing-parallels-tools.357888/ https://forum.parallels.com/threads/stuck-on-installing-parallels-tools.357888/ invalid@example.com (DimV) DimV
    I'm on a Mac Monterey 12.4 with Vagrant (Homestead for Laravel projects), Parallels Desktop 17.1.4. Upon booting up the VM I got this message that the Parallels Tools is outdated - screenshot so I opened the Parallels Desktop UI and clicked on the orange "!" which said "Update Parallels Tools", which is taking forever (2 days). I checked the parallels-tools-install.log and I saw this:


    ```
    Sat Jul 9 12:40:13 CDT 2022
    Start installation or upgrade of Guest Tools
    installer:%10.000000...

    Stuck on "Installing Parallels Tools"]]>
    4
    VM is incompatible with Mac Mon, 01 Aug 2022 07:13:41 +0000 https://forum.parallels.com/threads/vm-is-incompatible-with-mac.355327/ https://forum.parallels.com/threads/vm-is-incompatible-with-mac.355327/ invalid@example.com (CG_3) CG_3
    Just trying to see if anyone can give me a little help or point me in the right direction. This is my first time using virtual machines and Vagrant. I have a Mac with the M1 chip. I downloaded Parallels and Vagrant. Everything seems to running fine on Parallel. However when I try to use Vagrant to create my VMs I get this error message:
    View attachment 18627
    I thought it had something to do with the box I am using but I checked and it should be compatible : config.vm.box =...

    VM is incompatible with Mac]]>
    6
    Trial version of Pro or Business editions to test with Vagrant Sat, 02 Apr 2022 12:58:14 +0000 https://forum.parallels.com/threads/trial-version-of-pro-or-business-editions-to-test-with-vagrant.357110/ https://forum.parallels.com/threads/trial-version-of-pro-or-business-editions-to-test-with-vagrant.357110/ invalid@example.com (ArturM2) ArturM2 I've just upgraded my Macbook from Intel to M1 and came here to test if Parallels hypervisor works well with Vagrant.
    It looks like there is only Desktop version available as a trial, wherever I click I get to this: https://www.parallels.com/eu/products/desktop/trial/
    Vagrant doesn't support Desktop, according to this https://kb.parallels.com/en/122843?_ga=2.242208194.1104751421.1619471414-182379460.1618566929 I should have Business or Pro edition.
    However...

    Trial version of Pro or Business editions to test with Vagrant]]>
    Can't resize disk using the parallels vagrant provider Sun, 27 Feb 2022 09:49:59 +0000 https://forum.parallels.com/threads/cant-resize-disk-using-the-parallels-vagrant-provider.340967/ https://forum.parallels.com/threads/cant-resize-disk-using-the-parallels-vagrant-provider.340967/ invalid@example.com (james25) james25
    config.vm.provider "parallels" do |prl|
    prl.customize ["set", :id, "--device-set=hdd0", "--size=150G"]
    end


    I get the following error:

    A customization command failed:

    ["set", :id, "--device-set=hdd0", "--size=150G", "--type=plain"]

    The following error was experienced:

    #<VagrantPlugins::parallels::Errors::ExecutionError: There was an error while command execution. The command and stderr is shown below.

    Command: ["/usr/local/bin/prlctl", "set",...


    Can't resize disk using the parallels vagrant provider]]>
    5
    Power State Change notification Tue, 08 Feb 2022 13:29:01 +0000 https://forum.parallels.com/threads/power-state-change-notification.348126/ https://forum.parallels.com/threads/power-state-change-notification.348126/ invalid@example.com (klaust2) klaust2 I am wondering whether Parallels would let the guest OS know it gets paused/suspended, such that Windows broadcasts the WM_POWERBROADCAST message and notifies services via SERVICE_CONTROL_POWEREVENT?]]> 4 旧激活密钥尚未接受许可证服务器 Sun, 23 Jan 2022 13:31:10 +0000 https://forum.parallels.com/threads/355856/ https://forum.parallels.com/threads/355856/ invalid@example.com (旧许可证未被接受) 旧许可证未被接受 重装Parallels Desktop显示 "旧激活密钥尚未被许可证服务器接受" (账号已经有两个许可证 一个PD16版本一个PD17版本 / 先安装PD16成功激活 然后安装PD17 "提示旧激活密钥尚未被许可证服务器接受" )]]> 1 Packer cannot resolve Host IP Wed, 24 Nov 2021 14:52:55 +0000 https://forum.parallels.com/threads/packer-cannot-resolve-host-ip.352658/ https://forum.parallels.com/threads/packer-cannot-resolve-host-ip.352658/ invalid@example.com (PetrH2) PetrH2 I'm playing a bit with Packer in order to produce a base box for Vagrant. Everything works quite fine except today I reached the
    parallels-iso: Error detecting host IP: IP not found in ifconfig output
    error message. I found that the culprit is my Ethernet connection. When I connect using WiFi everything works fine.
    I took a quick look at the source code...

    Packer cannot resolve Host IP]]>
    2
    ssh port forwarding is ignored Tue, 02 Nov 2021 10:45:23 +0000 https://forum.parallels.com/threads/ssh-port-forwarding-is-ignored.355080/ https://forum.parallels.com/threads/ssh-port-forwarding-is-ignored.355080/ invalid@example.com (neywen1) neywen1 I've been using vagrant for several years with VirtualBox, and I usually create a port forward for ssh service, which is convenient to do a lot of things, including accessing a VM from a remote machine. It still works without any problem today, with VirtualBox as a provider.
    Today I'm trying to use Parallels as a provider for vagrant, for the first time.
    And it seems the port forwarding for ssh is simply ignored.
    Code:
    config.vm.network "forwarded_port", guest: 22,   host:...
    ssh port forwarding is ignored]]>
    2
    Add additional disks Tue, 13 Apr 2021 04:11:23 +0000 https://forum.parallels.com/threads/add-additional-disks.353119/ https://forum.parallels.com/threads/add-additional-disks.353119/ invalid@example.com (FusionX86) FusionX86 1 How to change the hypervisor to Apple in Vagrant Tue, 25 Aug 2020 14:50:51 +0000 https://forum.parallels.com/threads/how-to-change-the-hypervisor-to-apple-in-vagrant.349557/ https://forum.parallels.com/threads/how-to-change-the-hypervisor-to-apple-in-vagrant.349557/ invalid@example.com (AntonioG7) AntonioG7 I wish to use the Apple hypervisor.
    I can do this manually from the interface, but I want to set this up on Vagrant. How do I do it? There's no mention of this on the official documentation.
    Thanks in advance!
    View attachment 15926]]>
    2
    bento/centos7.6 rebooting loses shared folders Tue, 15 Oct 2019 21:29:22 +0000 https://forum.parallels.com/threads/bento-centos7-6-rebooting-loses-shared-folders.348240/ https://forum.parallels.com/threads/bento-centos7-6-rebooting-loses-shared-folders.348240/ invalid@example.com (DavidC63) DavidC63 I need to restart the box because I cannot seem to figure out how to turn off the blasted PHP file caching of the apache server that's...

    bento/centos7.6 rebooting loses shared folders]]>
    Vagrant can't ssh to guest - Connection refused Thu, 12 Sep 2019 16:28:32 +0000 https://forum.parallels.com/threads/vagrant-cant-ssh-to-guest-connection-refused.347964/ https://forum.parallels.com/threads/vagrant-cant-ssh-to-guest-connection-refused.347964/ invalid@example.com (EzsraM) EzsraM
    Parallels Desktop 15 for Business
    Vagrant, Installed Version: 2.2.5
    MacOS: 10.14.6

    First thing I did was install the plugin
    $ vagrant plugin install vagrant-parallels

    Next I tried creating a centos7 guest.
    $ mkdir centos7p
    $ cd centos7p
    $ vagrant init "generic/centos7"
    $ vagrant up --provider=parallels

    The box begins to load and finally I...

    Vagrant can't ssh to guest - Connection refused]]>
    2