Questions tagged [vagrant]

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

Filter by
Sorted by
Tagged with
0
votes
0answers
14 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 ...
0
votes
0answers
23 views

How to make my VM publicly accessible?

I have a static IP and I'm running CyberPanel in an Ubuntu 20.04 VM. I can forawrd ports on my laptop and they are accessible from the outside world. My vagrant VM is on bridged mode and I'm able to ...
2
votes
0answers
18 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| ... ...
0
votes
0answers
13 views

How do I set up Cmder with settings in an automated way

I am installing cmder on newly created development virtual machines using Vagrant. (I am using choco to install cmder) One of the things I would relly like to do is to have Cmder set up with a ...
1
vote
1answer
14 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 ...
0
votes
0answers
44 views

How to force quit a rogue vagrant box?

I used Vagrant to create a VirtualBox VM with a provisioning script. Due to some ?network? issue this script just does not terminate. Something about a time-out while accessing rpm repo mirrors... ...
0
votes
0answers
7 views

Sync manually mounted folder from Vagrant box to host

I am using Azure ML to mount a large data set on my Ubuntu Vagrant Box. It creates a new mount point and mounts all the remote files (using fuse) without downloading them. The problem is that the ...
2
votes
2answers
105 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.....
0
votes
0answers
17 views

During Vagrant provisioning, the system stalls

During my Vagrant Up process, many tasks run in succession and all does work, however at the end I have a validation test that stalls. The only way I can end the stall is logging into the machine ...
0
votes
2answers
215 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 ...
2
votes
1answer
41 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 ...
0
votes
1answer
57 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 ...
0
votes
1answer
23 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 ...
1
vote
0answers
92 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-...
1
vote
1answer
312 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 ...
0
votes
0answers
259 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 ...
0
votes
0answers
9 views

Vagrant vm not booting up in single attempt?

Following is my vagrant file on Windows 10, Oracle VM Virtual Box 5.2 # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| config.vm.box = "centosv2" ...
1
vote
2answers
143 views

Why is Vagrant in Ubuntu Docker container on Windows looking for PowerShell?

I am taking some training where all of the examples are in Ubuntu, but I am on Windows. So I thought I would install an Ubuntu Docker container, and that went well. The examples also require ...
0
votes
1answer
43 views

Vagrant shell commands aren't being run on the guest OS box

I have the following Vagrant file: Vagrant.configure("2") do |config| config.vm.box = "laravel/homestead" config.vm.provision "shell", inline: <<-SHELL ...
0
votes
0answers
595 views

Virtualbox, Vagrant, stuck on “default: SSH auth method: private key”

My vagrant file is set to this (https://app.vagrantup.com/centos/boxes/8) Vagrant.configure("2") do |config| config.vm.box = "centos/8" config.vm.box_version = "1905.1&...
0
votes
0answers
372 views

Connection Refused in Vagrant using WSL 2

I am trying WSL 2, also trying Vagrant on it. I used it in Ubuntu 20.04 and it is working properly, but now i am facing problem here in WSL 2 in Windows 10. My Problem might be about SSH problem on ...
0
votes
1answer
53 views

vagrant error while loading shared libraries: libruby.so.2.4

I've run into an issue with Vagrant where it does not start and prints the following error: ➜ ~ vagrant ruby: error while loading shared libraries: libruby.so.2.4: cannot open shared object file: No ...
0
votes
1answer
40 views

Vagrant's bridged network over WiFi has invalid IP

I'm starting up a VM with Vagrant, but the Bridged Network Adapter in the guest VM gets an invalid IP. So I can't communicate with it from my host. When I do vagrant up I select the WiFi network to be ...
1
vote
0answers
127 views

Installing NPM Package do not work inside Vagrant Ubuntu 18.04 LTS box

I am trying to install nodemon from npm inside my vagrant Ubuntu 18.04 LTS box using this command npm install --save-dev nodemon but i got error related to cannot find the file, i suspect that this is ...
0
votes
0answers
7 views

Using Vagrant Trigger to Start Redis-Server Failing

I'm trying to add "redis-server --daemonize yes" to my Vagrant file using Trigger, but its failing with this message: The executable 'redis-server' Vagrant is trying to run was not found in ...
0
votes
1answer
165 views

VirtualBox Vagrant inaccessible when VPN'd into local network

I have a Vagrant configured VM running on a Windows 10 machine on my home network. I have the Vagrant public bridged network settings configured successfully so that I can access that guest VM from ...
0
votes
0answers
385 views

Centos Vagrant Box Hangs on Boot - Refined TSC clocksource calibration/SSH auth method: private key

Setup: Windows - 10.0.18362 (Pro) Vagrant - 2.2.9 Virtual Box - 6.1.10 r138449 Vagrant Centos/7 box - 2004.01 vagrantfile Vagrant.configure("2") do |config| config.vm.box = "centos/...
0
votes
1answer
158 views

How to access to web page (for example nginx index.html) through a docker container inside a VM on virtualbox

I explain my issue, I have a VM create with a VagrantFile who take an IP from my LAN (via bridge). So admit my VM has an IP (192.168.15.11), in this VM I create 3 docker containers who have an IP ...
0
votes
0answers
64 views

How to set bridged networking in a VirtualBox virtual machine?

I created a virtual machine thru Oracle VirtualBox and Vagrant. Now I want to browse a website hosted in the virtual machine but I can't browse it thru the IP 10.0.2.15. I found the answer from this ...
0
votes
0answers
26 views

How can I enable opengl visibility in vagrant system for windows machine?

In order to work with docker windows container on my Mac, I was using windows docker machine, virtalbox as a provider and 2019-box as a vagrant box. Inside docker image that is based on ue4 docker, ...
0
votes
1answer
30 views

Vagrantcloud packer upload error

I get the error virtualbox-iso: Running post-processor: vagrant-cloud ==> virtualbox-iso (vagrant-cloud): Verifying box is accessible: redacted/ubuntu2004 Build 'virtualbox-iso' errored: 1 ...
0
votes
0answers
38 views

Vagrant vs VirtualBox: How to share a ready-to-use system with users?

I want to give end users the option to start a Virtual Machine with some software preinstalled and configured, so that they can start working on a full Linux environment right away, using a full GUI. ...
1
vote
0answers
161 views

Virtual Box bridged network and port forwarding VAGRANT

Hey guys i'm having serious problme with to portforward my port 5060 i'm stuck on it since 1 week :( the probleme is i want to portforward the port 5060 on my bridge network not in nat so naturaly i ...
3
votes
0answers
652 views

How to check the disk size of a Vagrant Box?

Is there any way for me to check the disk size of a Vagrant Box, preferably before downloading/using it? Ideally, I'd want to go to the Vagrant Box search page and be able to see what the disk size ...
1
vote
0answers
227 views

How do I stop VMware / Vagrant from attempting to create NFS shares?

I am trying to use VMware instead of VirtualBox to run my VMs. Host:Windows10, Guest: CentOS7. I am using PuPHPet to create the required vagrant files, but whichever file system I choose, Default, NFS,...
1
vote
0answers
607 views

Insecure world writable dir /mnt/c in PATH, mode 040777 in vagrant

I am trying to issue vagrant up on windows linux subsystem and this error is appearing. /opt/vagrant/embedded/gems/2.2.7/gems/vagrant-2.2.7/lib/vagrant/util/which.rb:37: warning: Insecure world ...
0
votes
1answer
685 views

Why my Vagrantfile is calling Hyper-V hypervisor even disabled at Windows?

I did an upgrade of Windows 10 Professional to the lastest build (brazilian portuguese): Microsoft Windows [versão 10.0.18363.592] After this when I ran my Vagrantfile even calling the config ...
1
vote
0answers
338 views

Proper way to move a pool with virsh to another partition?

The root partition is running out of space so i'd like to move the machines to another directory. They are currently on /var/lib/libvirt/images/, the pool is called images. The VMs are spun up with ...
1
vote
0answers
230 views

Error while running vagrant up command

Running vagrant up isn't working anymore. I have read the post Vagrant up command not working which instructs removing Virtual Box and installing the newest version. However, I can't uninstall VB ...
0
votes
0answers
29 views

Any way to cache downloads so repeated downloads will instead download from cache?

I use vagrant to create Linux server provision scripts. I often have to run the same apt-get commands in the provision script. Some packages I have to download and install are large and take a while ...
1
vote
1answer
134 views

How could I connect ansible by ssh into 2 Vagrant machines (Virtualbox Hypervisor)?

I would like to connect by ssh one machine with another to do ansible commands. I have a CentOS7 and want to connect inside the OS to Ubuntu16 VM. Look at my Vagrantfile and what I tried: Vagrant....
0
votes
0answers
164 views

Virtual Machine running centos showing 1 cpus instead of 2

I’m trying to create a virtual machines using a Vagrantfile. But after the creation of the VirtualBox VM, it shows only one core. I've tried what other Stack Overflow code snippetes solved this ...
2
votes
0answers
952 views

DNS/DHCP server in multi-machine private-network Vagrant setup

Question Is it possible to configure vagrant, using a multi-machine Vagrantfile, to have one of the VMs act as the DNS server and DHCP server (i.e. using dnsmasq) for a private network used by all ...
1
vote
0answers
63 views

Unable to ping vagrant from local

Here is my vagrantfile PROJECT_NAME = "petalandstem" BACKEND_DIR = "/home/vagrant/#{PROJECT_NAME}/src/backend" FRONTEND_DIR = "/home/vagrant/#{PROJECT_NAME}/src/frontend" Vagrant.require_version "&...
0
votes
1answer
1k views

Create a vm with multiple disks via loop in Vagrantfile

I am trying to create a vm with vagrant with multiple disks, but I want the vagrantfile to use a loop to create them. Vagrant does not handle loops correctly as it seems to double or triple traverse ...
1
vote
0answers
133 views

Enable the second screen after increasing the monitor count in Vagrant with VirtualBox

I can see how to enable multiple displays with vagrant in this answer: https://superuser.com/a/207291/662918, but it seems after doing that I still need to go to View > Virtual Screen 2 > Enable ...
0
votes
1answer
534 views

Why my Vagrantfile settings can reach the internet and not the same LAN outside Virtualbox VM?

I can reach the internet and another Virtualbox Vagrant machine (they ping each other) but I can't reach the same range IP of my LAN and the gateway. I tried many settings with private network and ...
0
votes
3answers
2k views

'Vagrant up doesn't work as expected, Code E_INVALIDARG (0x80070057)

PS C:\desktop\laravel-les1> vagrant up Bringing machine 'laravel-les1' up with 'virtualbox' provider... ==> laravel-les1: Importing base box 'laravel/homestead'... There was an error while ...
-1
votes
2answers
154 views

Performing a vagrant up inside a Onedrive folder project, why happens this output error message bellow?

My Vagrantfile: Vagrant.configure("2") do |config| config.vm.define "vm1" do |vm1| vm1.vm.box = "debian/buster64" vm1.vm.box.hostname = "debian-vm" vm1.vm.network "...
0
votes
1answer
216 views

Make vagrant box accessible from other computers on home network

I have a Vagrant box (using Virtual Box) running locally on my laptop. My laptop (the host) is running Mac OS 10.11.6; the guest is running Ubuntu 16.04. Currently, the guest is accessible from the ...

1
2 3 4 5
10