2022 Developer Survey is open! Take survey.

Questions tagged [vagrant]

Vagrant is a tool for building and distributing virtualized development environments.

Filter by
Sorted by
Tagged with
0 votes
0 answers
14 views

Vagrant package with VMware

I am trying to use vagrant with an existing VM (VMware Fusion) to not lose everything I already have but I saw that vagrant package only works with Virtualbox. I found this plugin which seems to make ...
user avatar
  • 1
0 votes
0 answers
14 views

Vagrant Wazuh cant"t open dashboard

I installed wazuh on Vagrant. But I can't reach my host machine. I changed some configuration and checkup. Firewall Disabled on Virtual Machine default: 443 (guest) => 8001 (host) (adapter 1) [...
user avatar
3 votes
2 answers
208 views

Openssl 3.0 error when booting Vagrantbox

I updated my local linux notebook from Ubuntu 20.04 to 22.04. I did a fresh installation for several reasons. Now I have a problem with my most important vagrantbox. This box encapsulates my ...
user avatar
1 vote
4 answers
48 views

How to pass a file from a Windows VM to a linux VM

I set up 2 machines, one Windows Server and an Ubuntu 20.04, both with an internal network. They can ping each other correctly and have internet access. I'm trying to send a file from the Windows ...
user avatar
0 votes
1 answer
21 views

Vagrant for existing VM images / Format of metadata.json

I have an S3 bucket of existing VMware virtual machine images (OVA format), and I want to make them compatible with Vagrant. However, I am a bit confused about the structure of how Vagrant images are ...
user avatar
0 votes
0 answers
28 views

Virtual Box not compatible with Apple Private Relay

I am running some local development vagrant boxes on macOS Monterey. I have Apple Private Relay turned on. Whenever I start the vagrant box, the Apple Private Relay Turns off. Is there a way to ...
user avatar
0 votes
0 answers
83 views

Private network can not be set up on Ubuntu 20 with Vagrant and VirtualBox

I have a brand new server and I just installed VirtualBox and Vagrant. If I try to set up a private network, I get the following error: vagrant@zg-2:~/vms/zg2t1$ vagrant up Bringing machine 'default' ...
user avatar
0 votes
0 answers
43 views

Vagrant Multiple VM's with Unique IP address on public_network using DHCP

host machine: Ubunutu Server 20.04 Tools: Vagrant box/image being used custom ubuntu server image. Vagrantfile: # -*- mode: ruby -*- # vi: set ft=ruby : $veh= 1 $vehCount = 2 $vehList ={} while $...
user avatar
  • 73
0 votes
0 answers
70 views

vagrant up stuck on install centos-release

Vagrant.configure("2") do |config| config.vm.box = "centos/7" end This is my vagrantfile. When I vagrant up, vagrant stuck on install centos-release. Add shell in vagrantfile, ...
user avatar
0 votes
1 answer
66 views

CentOS stops right after selecting kernel when installing CentOS on VirtualBox using Vagrant and Windows 11 Host OS

I have the following setup: Host OS: Windows 11 Enterprise Versio10.0.2 2000 Build 22000 Vagrant version 2.2.19 Oracle virtualbox version 6.1.32 If I try to start a CentOS 7 VM config like: Vagrant....
user avatar
0 votes
0 answers
78 views

Run command with sudo-permission for local user

I'm trying to run the command: vagrant up without being prompted for my password halfway through it. Attempt 1: Using sudo If I run it like this: sudo vagrant up, then I get this error: The ...
user avatar
  • 113
0 votes
0 answers
115 views

Localhost addresses stopped working after installing Docker

I am used to develop with Vagrant. My Windows hosts file uses multiple addresses mapping which used to work just perfect: 127.0.0.1 whatever.local But after installing Docker Desktop, they have ...
user avatar
0 votes
1 answer
59 views

VirtualBox port forwarding isn't working

I have a VirtualBox running CentOS 7 and Apache, among other things; it's set up with Vagrant. Apache is set up to listen on port 80, which it definitely is doing, at least when I try with curl ...
user avatar
0 votes
0 answers
18 views

404 upon vagrant up. http://us.archive.ubuntu.com not found

I am a newer developer on a windows machine trying to set up my environment with a vvm using Vagrant , Virtualbox, and Ubuntu. I have run vagrant init and generated the vagrantfile but when I run ...
user avatar
  • 1
0 votes
0 answers
358 views

How to run linux VM on MacOS with Vagrant and QEMU?

Can anyone advise me how to run a headless linux (x86_64) virtual machine on a MacOS Monterey (Intel) using QEMU with HVF? So far I have installed the libvirt and qemu with homebrew, also vagrant-...
user avatar
  • 1
0 votes
0 answers
18 views

New VM Network adapter is created each time i run vagrant reload --provision

Each time I run vagrant reload --provision the vm is starting and a new network adapter is created. I don't know why it's happening and how to troubleshoot this. This virtualbox is created using ...
user avatar
0 votes
0 answers
48 views

Vagrant Provision Errors

I'm currently trying to install the tool: CODEFACE4SMELLS (https://github.com/maelstromdat/CodeFace4Smells) in my Windows 10 machine for my project. Its quite an old tool for code & community ...
user avatar
0 votes
1 answer
376 views

Cannot create a private network from Vagrant in VirtualBox after updating it

I have upgraded VirtualBox from 6.1.26-2 to 6.1.28-3 (in Manjaro) and then I was not able to set up a private network with Vagrant. Here is my Vagrantfile: Vagrant.configure("2") do |config| ...
user avatar
  • 121
0 votes
0 answers
189 views

Creating a new base box in Vagrant, SSH auth Method: Private Key Authentication failure, from a Vagrant Image

Update: I have yet to find an actual resolution to my question. I, however, in my reading over the weekend, found a workaround. Ultimately, I believe the issue to be related to the lack of insecure ...
user avatar
  • 73
0 votes
0 answers
32 views

How to share files between host machine and Vagrant vm

I haven't used vagrant for a while so I am racking my brain out on this one. I know for a fact that one way to "exchange files" between the host machine and the vagrant VM is to copy any ...
user avatar
5 votes
2 answers
4k views

macOS Monterey failing to start vagrant box?

I have a Vagrant box with Virtual Box setup. I just updated my macOS version Monterey (12.0.1) and I am getting following error when I try to vagrant up my box. There was an error while executing `...
user avatar
  • 1,155
2 votes
3 answers
1k views

Vagrant/Virtualbox not working after upgrading to Monterey

I upgraded my Mac to Monterey today, and now I get the following error when I run vagrant up Bringing machine 'default' up with 'virtualbox' provider... ==> default: Checking if box 'tynesolutions/...
user avatar
  • 123
1 vote
0 answers
54 views

Start Vagrant on host boot

I'd like to run my existing VMs after the host system boot. I've tried to run the following command to add an line to the Cronbab: VAGRANT_PWD="/home/ubuntu/vms" (crontab -u $(whoami) -l; ...
user avatar
  • 125
0 votes
1 answer
267 views

Error: specified host network collides with a non-hostonly network

Below is the error: The specified host network collides with a non-hostonly network! This will cause your specified IP to be inaccessible. Please change the IP or name of your host only network so ...
user avatar
0 votes
1 answer
28 views

Local dev/test environment for macOS to run two networked O/Ses; one CentOS and the other Windows?

We have a product with three (3) components and I am trying to figure out a good way to set up an environment for local development and testing. Our components are: A "Gateway" per customer ...
user avatar
0 votes
1 answer
87 views

Vagrant issue with GuestAdditions version

I'm trying to run a Vagrantfile on my Ubuntu server. I got the following error message: An error occurred during installation of VirtualBox Guest Additions 6.1.26. Some functionality may not work as ...
user avatar
  • 125
0 votes
0 answers
15 views

Can Vagrant set up and provision multi-machines sequentially?

I'm using vagrant to set up a dozen or so vms at once, which puts a heavy load on my host server and its network. In my case, this is enough load to negatively impact other services which must operate ...
user avatar
  • 101
0 votes
0 answers
24 views

Replicate VirtualBox Vagrant Network settings on Hyper-V

How do I replicate the following settings for VirtualBox on Hyper-V? vm.network `"private_network`", ip: `"172.11.11.20`", name: `"${adaptername}`" vm.network `"...
user avatar
0 votes
1 answer
91 views

Vagrant public network between instances: high packet loss rate

I have two vagrant instances setup and both running (host is macOS and vagrants are centOS7). One is configured with public network ip 192.168.0.100 and the other is configured with public network ip ...
user avatar
  • 101
0 votes
0 answers
32 views

Setup Ingress for Demo Application

I'm trying to setup a k3s cluster in Virtualbox VMs using Vagrant for learning purposes. 192.168.30.10 is the IP I assigned to my master node. I deployed a demo application but I don't get a grip on ...
user avatar
0 votes
1 answer
553 views

k3s slave agents don't join kubernetes cluster (in Vagrantbox setup)

I'm trying to setup a k3s cluster in Virtualbox VMs using Vagrant for learning purposes. But my slave agents don't connect to my master node. My VM provider is Virtualbox. I'm following the ...
user avatar
0 votes
0 answers
29 views

update-help in powershell failed while installing oel8 using vagrant in windows10

i am following http://yum.oracle.com/boxes/ and λ vagrant init oraclelinux/8 https://oracle.github.io/vagrant-projects/boxes/oraclelinux/8.json 5 Vagrant failed to initialize at a very early stage: ...
user avatar
0 votes
0 answers
18 views

Removing vagrant box

When I remove a Vagrant box using vagrant destroy I'm still left with the .vagrant directory. I assume it's safe to delete that directory? is there a vagrant command to delete that directory when ...
user avatar
  • 419
0 votes
1 answer
466 views

Cmder seems to not emulate PowerShell when using Vagrant

I'd like to provision and connect to virtual machine using Vagrant and Cmder. Unfortunately, when I try to vagrant up my machine, I'm getting error that I don't use Power Shell: λ vagrant up 5 ...
user avatar
  • 101
0 votes
0 answers
83 views

Failed up in executing Vagrant Up Command (Mac OS)

I tried to run the vagrant up command but it fails with the output below. Bringing machine 'default' up with 'virtualbox' provider... ==> default: Importing base box 'ubuntu/xenial64'... ==> ...
user avatar
  • 101
0 votes
1 answer
19 views

Can I host Vagrant/VirtualBox VMs on Azure Dedicated Host

I need to migrate a workload that comprises VMs into the Cloud, with Azure currently being my preferred option. The workload runs a test suite and must start several VMs with Vagrant and VirtualBox in ...
user avatar
  • 135
0 votes
1 answer
1k views

How can I sync folders stored within WSL2 to VirtualBox guest?

I have switched from WSL1 to WSL2 and moved my project files inside WSL2 as is recommended for performance reasons. I have VirtualBox installed on the Windows side (CentOS 7 guest) and Vagrant ...
user avatar
0 votes
0 answers
122 views

Why vagrant claim about Powershell version (minimum 3)?

Trying to use Vagrant and it claims about Powershell minimum version 3 installed. I have Windows 10 Pro and Vagrant 2.2.16 and the minimum version at Windows 10 is 5. Tried to use chocolatey and ...
user avatar
  • 317
0 votes
0 answers
22 views

Vagrant syntax to remove one box-version

I have a server on which I use Vagrant to install and manage VirtualBox VMs for various operating systems. Over time I have installed 3 different OpenBSD VMs. The box for each of these was ...
user avatar
0 votes
0 answers
133 views

Vagrant unable to find virtualbox version

I try to use vagrant for a project. Everytime I try to run a command, the following message is show: Vagrant failed to initialize at a very early stage: Vagrant detected that VirtualBox appears ...
user avatar
2 votes
0 answers
22 views

Refresh a VM's synced folder with Win Server 2019

I use Vagrant to run a VM with Win Server 2019 utilizing Virtualbox with a synced folder called "sync". config.vm.define :winw1 do |winw1| winw1.vm.provider :virtualbox do |vb| ... ...
user avatar
1 vote
1 answer
71 views

VirtualBox called by vagrant - unable to control serial port raw file value

OK, I'll explain what the issue is first to be brief, and then explain why it's a problem. I use Vagrant to start a bionic64 virtual machine. When I do a file is created in the root directory named ...
user avatar
2 votes
2 answers
167 views

What is needed to use Vagrant with Hyper-V

I've set up vagrant as described in the docs. When running vagrant up I get the following message: Bringing machine 'default' up with 'hyperv' provider... ==> default: Verifying Hyper-V is enabled.....
user avatar
  • 135
0 votes
3 answers
409 views

Vagrant box fails trying to log to a path the box was created from

This is a very specific error, and pretty obvious what's going on, I just don't know how to correct it. Don't see a specific answer on this. Caution: the names in this film have been changed to ...
user avatar
2 votes
1 answer
213 views

Jenkinsfile pipeline for running vagrant up

I am encountering a strange issue, when i run vagrant up, the virtual machine builds up fine and works as intended, but when I run the same command in a Jenkinsfile pipeline, after the build is ...
user avatar
0 votes
1 answer
146 views

Vagrant up on a box, not recognizing provider

This is my first time uploading a package.box to Vagrant. I'm testing a vagrant up and get the following: The box you're attempting to add doesn't support the provider you requested. Please find an ...
user avatar
0 votes
1 answer
43 views

Lightweight Container solution (from Vagrant/Virtualbox to ???)

Up to now we used Vagrant+Virtualbox to set up development environments. The dev environment uses Ubuntu. This was great, because you can start the dev environment from Linux, Mac, Windows. But ...
user avatar
  • 297
1 vote
1 answer
242 views

Install of laravel/laravel failed

I did vagrant ssh and into vagrant@homestead.when I installed composer global require laravel/installer and created laravel new bacon that caused bellow the error. Also, I tried to set up process-time-...
user avatar
  • 35
1 vote
1 answer
494 views

Cannot get “vagrant up” to work when running Laravel Homestead

I cloned git clone homestead and changed Homestead.yaml as following Laravel Homestead documentation and when I did command vagrant up that's caused bellow the error. I am using Vagrant 2.2.14 with ...
user avatar
  • 35
0 votes
0 answers
713 views

Vagrant box not coming up as expected after once working

I set up Vagrant yesterday to use Ubuntu and it was working perfectly. I used the vagrant ssh command to connect with the Ubuntu VM which was created automatically on VirtualBox. Today I was trying to ...
user avatar

1
2 3 4 5
11