8,493 questions
1
vote
0
answers
64
views
configuring vagrant vm with ansible through WSL - Failed to connect to the host via ssh
i am having hard time with configuring vargrant vm with ansible, my host machine is windows 11 so i use WSL. (something its working and something i get "Failed to connect to the host via ssh"...
1
vote
2
answers
935
views
Laravel Homestead Wont Load - Label Value Changed? [closed]
I am running Laravel/homestead 14.0.2 with parallels. Yesterday, vagrant up was working fine. Today, when I try to run vagrant up I get the following error:
homestead: E: Repository 'https://ppa....
0
votes
1
answer
54
views
Unable to add the arrikto/minikf box with vagrant up : "The requested URL returned error: 403" [closed]
I encountered the following error when trying to add the arrikto/minikf box with vagrant up:
The requested URL returned error: 403
Setup
Vagrant version:
$ vagrant version
Installed Version: 2.4.3
...
0
votes
1
answer
47
views
When I Vagrant Up->Vagrant SSH my terminal doesn't go to the Homestead "Logo" screen
I'm a novice Laravel user, trying to install Vagrant / VirtualBox / Homestead onto a new laptop, and revive a project that was mothballed. In the past, when I ran [Vagrant up] and then [Vagrant SSH] ...
0
votes
0
answers
32
views
Vagrantfile vm.provider block executes multiple times
I started on Vagrant a couple of days ago. I was experimenting when I used this file:
# d:\test\Vagrantfile
Vagrant.require_version ">= 2.4.3"
Vagrant.configure("2") do |config|...
0
votes
0
answers
62
views
vagrant up fails to SSH on Linux host, but works on Windows host
I'm using the same Vagrantfile on two machines: Windows 7 with VirtualBox 6.1.50 and Linux Mint 22 with VirtualBox 7.1.4. Vagrant 2.4.3 on both. On the Windows host vagrant up brings up the VM just ...
0
votes
0
answers
42
views
Virtual simulation of a PI and Microcontroller using Vagrant and Virtualbox
I am working on a vagrant / python script that will download micro controllers
The vagrant script loads the below VM:
pi5.vm.box = "debian/buster64"
Then I also load these as stand-ins for ...
0
votes
0
answers
32
views
Jump starting a very stale Laravel Spark project that was mothballed
I started a Laravel Spark project several years ago. I had to mothball it for a while, but trying to pick back up now. In the meantime the development machine has become unstable, so need to move ...
0
votes
2
answers
476
views
How to run an amd64 AlmaLinux 9 VM on an arm64 (silicon) MacBook Pro with Vagrant and Qemu
I would like to run an amd64 AlmaLinux 9 Virtual Machine on an arm64 (silicon) MacBook Pro with Vagrant (2.4.3) and Qemu (9.2.0).
Vagrant.configure(2) do |config|
config.vm.box = "almalinux/9&...
3
votes
1
answer
704
views
Having difficulty installing vagrant-hostmanager
Hi so I am trying to install vagrant-hostmanager plugin. I keep getting this error message and I don't know what else to do, I'm using git bash for the installation.
Here is the error message:
...
3
votes
1
answer
377
views
The vagrant-libvirt plugin is failing to install on Sonoma 14.6.1. Is this an M1 Mac Silicon limitation?
Here's the error message:
vagrant plugin install vagrant-libvirt
Installing the 'vagrant-libvirt' plugin. This can take a few minutes...
/opt/vagrant/embedded/lib/ruby/3.3.0/rubygems/specification.rb:...
0
votes
0
answers
15
views
Run into an issue after typing the command docker compose up -d [duplicate]
This is in vagrant
run sudo -i
cd emartapp
Run docker-compose up -d
Here's the command and error message
[root@localhost emartapp]# docker compose up -d
[+] Building 33.8s (12/20) ...
0
votes
1
answer
175
views
Error with vagrant (and nokogiri) on fedora 40
On a freshly installed Fedora 40 distribution, I want to use vagrant but I got an error (seems to be a problem with nokogiri).
I think vagrant is not packaged like it could be or maybe a dependance is ...
0
votes
0
answers
1k
views
Vagrant-libvirt: could not get preferred machine for /usr/bin/qemu-system-aarch64 type=kvm
I'm having issues with running an arm64 machine using vagrant with the vagrant-libvirt plugin.
Here's the Vagrantfile:
Vagrant.configure("2") do |config|
# Disable synced folders
...
-1
votes
1
answer
98
views
How to login as the user (created using Ansible) inside a virtual machine created using Vagrant?
I have created a virtual machine using Vagrant, a user inside it (using Ansible), and configured the SSH keys (also using Ansible).
Vagrantfile
Vagrant.configure("2") do |config|
config.vm....
1
vote
0
answers
112
views
How to run React-Native-Expo App and Laravel by using Homestead
I'm working on an react-native-app with expo which is supposed to get data from an laravel based api. The laravel-application is running on a virtula machine by using homestead.
Now I want to fetch ...
0
votes
1
answer
224
views
Using Vagrant provisioning for Shell Scripts
I've been trying to automate some configuration changes using Vagrant provisioning and shell scripts but unfortunately when I run vagrant up, my shell script will not run as expected. I've tested ...
-1
votes
1
answer
509
views
Hash sum mismatch when using vagrant up and apt-get install on MacOS
I am setting up the dev environment for an open source project (Zulip) and ran into a hash sum mismatch issue when apt-get install was run inside a container that was being setup with vagrant and ...
1
vote
1
answer
344
views
Error when molecule through vagrant start VM in vbox (Windows, WSL2)
My env is like this :
Molecule with Vagrant 2.4.1 in WSL2 (Debian 12).
Windows 10 with Vagrant 2.4.1 and VirtualBox 7.0.1
molecule.yml below
---
dependency:
name: galaxy
enabled: false
prerun: ...
2
votes
0
answers
1k
views
Vagrant can't use default network of libvirt. Vagrant + libvirt, Linux. no network with matching name 'default' (Libvirt::Error)
To avoid modifying my host machine, I have created a f39 VM in Gnome Boxes, that will be my host.
➜ rocky9 pwd
/home/chrisvm/projects/rocky9
# I was trying to create a custom network for ...
0
votes
2
answers
79
views
Vagrant transfer file from Guest VM to another Guest VM
Is there any option to transfer a simple file from one Vagrant VM to another Vagrant VM?
I assigned static IP to both of the VMs, watched for open SSH ports and tried to use scp command to transfer ...
0
votes
1
answer
829
views
Can't connect to a pod running on different node with k3s and virtualbox
Trying to create a k3s cluster with Vagrant and Virtualbox.
Nodes can connect to each other. DNS resolution works from the pods, pods can connect to the internet and can connect to different pods as ...
-1
votes
1
answer
325
views
symlink protocol error when setting up storage:link on vagrant homestead
I am attempting to set up a laravel based backpack pro project environment on homestead vagrant however I am stumped at this issue Script php artisan storage:link --quiet handling the post-install-cmd ...
0
votes
1
answer
866
views
PhpStorm not working with Xdebug 3.3 running in Vagrant box using nginx and PHP 8.3
I'm running the following setup for my development environment:
Host system is a Windows 10 machine, running a Vagrant box with Debian Buster 64. On this client system a nginx 1.14.2 web server is ...
0
votes
1
answer
396
views
Laravel homestead Can't Preform Vagrant Up Error Constraints: >= 13.0.0, < 14.0.0
This is the vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
require 'json'
require 'yaml'
VAGRANTFILE_API_VERSION ||= "2"
confDir = $confDir ||= File.expand_path(File.dirname(__FILE__)...
-4
votes
1
answer
54
views
HTML and Vagrant [closed]
So I have this HTML file I wrote in Vagrant. Is there a way I can run the HTML file from Vagrant so that it displays on a browser on my host Operating System? I'm using ubuntu/focal64 for my virtual ...
1
vote
0
answers
876
views
Error: [email protected]: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password)
windows 11
Vagrant 2.4.0
I was using multiple vagrants using single file This is the code of my vagrant file
Vagrant.configure("2") do |config|
config.hostmanager.enabled = true
config....
0
votes
0
answers
149
views
Homestead : how to specify the MariaDB version to use?
I would like to use Laravel homestead pre-packaged Vagrant box with MariaDB version 10.6.
After reading the doc and check all release, I cannot found how to specify a specify version to use, or which ...
0
votes
1
answer
146
views
Access Vagrant (Virtualbox) from Docker
My question is as follows. I am a webdeveloper and have several applications running in both Docker and Vagrant (Virtualbox). Normally it is just in one of these two. But now I have an application ...
0
votes
1
answer
93
views
Provisioning Vagrant with mySQL (on MacBook Pro M2)
Background
Around 2 years ago I set up a vagrant/ubuntu web development environment on my MacBook Pro (Intel). That worked well enough that it had been set & forget until I upgraded to an M2 MBP. ...
0
votes
0
answers
209
views
How can I attach the RubyMine debugger to a docker container inside a Vagrant box?
I'm working on a Rails app where our development environment is set up to run in a docker container inside of a Vagrant box. When configuring a Vagrant remote interpreter in RubyMine, I'm asked for ...
0
votes
2
answers
636
views
FrozenError while trying to use Vagrant
I'm trying to raise some linux virtual machines with Vagrant, however, I am met with this error everytime. I even re-installed vagrant but nothing helped so far.
Bringing machine 'default' up with '...
0
votes
1
answer
95
views
Unable to connect to database using SqlCmd in a Vagrant provision script
I am using Vagrant to create a reproducible environment for work. In my vagrantfile I have the following:
config.vm.provision :shell, path: "./dependencies.ps1"
config.vm.provision :shell, ...
1
vote
1
answer
270
views
installing flutter in linux/CentOS7 vagrant VM issues [vagrant@localhost ~]$ flutter doctor -v
Please let me know how to fix this in my vagrant centos vm ssh :
(purpose : jenkins pipeline for flutter web build and FTP deployment on centos7 virtual machine using vagrant ssh access)
PS: I'm using ...
-1
votes
1
answer
287
views
Pinging multiple vms on local network: destination host unreachable
While doing a vprofile project in linux setting up a multiple vm through hypervisor and a vagrant file i'm facing issues as all vms can't ping to each other as required in the stack.
PING web01 (192....
0
votes
1
answer
133
views
Vagrantfile docker provider network errors
I'm attempting to use the following files to create 3 k8 nodes using the docker provider and ansible.
Vagrantfile:
IMAGE_NAME = "roboxes/rhel8"
N = 3
Vagrant.configure("2") do |...
0
votes
1
answer
128
views
Minikube+docker on Vagrant
Host:
Windows 10x64 22h2,
Vagrant version 2.3.7.
Virtual:
Ubuntu Server 2204,
Docker version 24.0.4, build 3713ee1,
Minikube version: v1.31.0.
Hi, need help installing minikube via vagrant. As a ...
2
votes
2
answers
2k
views
Laravel Vite gives error qt.qpa.xcb: could not connect to display
I installed fresh Laravel 10 with Vite. When I execute from Docker container laravel.test command:
npm run build
then it works perfectly. However I made setup for this Laravel project in Vagrant ...
-1
votes
1
answer
186
views
File permission issue after updating Laravel Homestead box
I updated my Laravel Homestead box to version 13.0.0 and I now have a file permission issue :
The stream or file "/home/vagrant/code/Test/back/storage/logs/laravel-2023-06-21.log" could not ...
1
vote
1
answer
309
views
g++: error: /usr/lib/libboost_unit_test_framework.a: No such file or directory
I am stuck in compiling Thrift. I passed the ./Configure --host=arm process but was stuck in compiling with the Command "make". I have no idea how to solve that.
I went into the Makefile to ...
1
vote
2
answers
488
views
in a Vagrantfile, I define a local variable. How can pass it to a bash script as a parameter? $var, #var, #{var}?
In a Vagrantfile, I want to run scripts.
But some part of them shouldn't run in provision mode.
I've sat a local variable update = "true" (or false) depending of the value of the Vagrant ...
-1
votes
1
answer
94
views
How to troubleshoot a Vagrant VM running a NestJS server returning ECONNREFUSED error when hitting an endpoint?
I have setup several VMs provisioned through vagrant, each with their own private network IP. The issue comes up is that for one of the VMs, which I have named netcap_backend, I have set to start a ...
12
votes
7
answers
26k
views
GPG error public key is not available: NO_PUBKEY B53DC80D13EDEF05: during VM creation using Vagrant
I am trying to install a K8s cluster VM nodes using Vagrant and relevant install shell script (listed below).
I tried some of the suggestions in similar questions, but they did not help my case. I am ...
0
votes
1
answer
211
views
PyCharm "Cannot find reference" error with nested packages in a Vagrant VM
I'm working on a Python project that utilizes a unique nested package structure and is running within a Vagrant VM. Everything works fine when I run the code within the VM, but PyCharm IDE is throwing ...
1
vote
1
answer
142
views
"The connection to the server localhost:8080 was refused" at node.vm.provision time, but successful when executed from a vagrant ssh
I'm doing a Kubernetes deployment into a VM, using https://github.com/techiescamp/vagrant-kubeadm-kubernetes/blob/main/Vagrantfile model.
At the end of its node part, just after the
node.vm.provision &...
-1
votes
1
answer
826
views
Vagrant up hangs on waiting for ssh
I'm running vagrant with the libvirt provider, trying to run an arch box (archlinux/archlinux).
When running vagrant up, the command hangs when waiting for ssh to become available.
Note that if I run ...
1
vote
1
answer
327
views
Can't install elasticsearch through Ansible on a Centos 9 vm in Vagrant
I'm trying to install elasticsearch from a "common" role but ansible can't find the package to install.
i'm getting the following error when i'm executing playbook:
failed: [vm1] (item=...
-1
votes
1
answer
1k
views
unable to install jenkins [closed]
warning: /var/cache/yum/x86_64/7/jenkins/packages/jenkins-2.387.2-1.1.noarch.rpm: Header V4 RSA/SHA512 Signature, key ID ef5975ca: NOKEY
i am using vagrant and virtual-box for centos VM
i used below ...
0
votes
1
answer
1k
views
How can I access an NGINX web server running inside a Docker container on a virtual machine managed by Vagrant, from my Windows host machine?
I have set up the Vagrantfile to use a public network with IP address 192.168.1.10 :
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "...
-1
votes
1
answer
196
views
Can't access localhost with vagrant port forwarding where using Laravel on Mac
I can access the web server in vagrant via http://homestead.test.
But some static files is compiled by Vite, which should be access by http://127.0.0.1:5173.
So I add ports in Homestead.yaml
ports:
...