Questions tagged [vagrant]

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

Filter by
Sorted by
Tagged with
0 votes
1 answer
671 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 ...
Ryan Kortmann's user avatar
0 votes
1 answer
583 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 ...
human_garbage's user avatar
0 votes
1 answer
96 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 ...
OneStrokeAtATime's user avatar
0 votes
0 answers
107 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. ...
MakisH's user avatar
  • 131
1 vote
0 answers
593 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 ...
Namoussi Yayaoui's user avatar
7 votes
2 answers
3k 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 ...
mere3ortal's user avatar
1 vote
0 answers
535 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,...
Fins's user avatar
  • 21
1 vote
0 answers
1k 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 ...
tiedmud's user avatar
  • 11
0 votes
1 answer
3k 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 ...
Marlon's user avatar
  • 359
1 vote
0 answers
1k 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 ...
siem.yahshua's user avatar
1 vote
0 answers
379 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 ...
Leine Fran's user avatar
0 votes
0 answers
45 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 ...
BugHunterUK's user avatar
1 vote
1 answer
840 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....
Marlon's user avatar
  • 359
0 votes
0 answers
206 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 ...
noobmaster69's user avatar
3 votes
0 answers
2k 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 ...
Hunter's user avatar
  • 31
1 vote
0 answers
93 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 "&...
karan patel's user avatar
0 votes
1 answer
2k 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 ...
BCwhale's user avatar
  • 101
1 vote
0 answers
333 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 ...
Matt's user avatar
  • 211
0 votes
1 answer
2k 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 ...
Marlon's user avatar
  • 359
0 votes
3 answers
4k 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 ...
Aqsa Intizar's user avatar
-1 votes
2 answers
265 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 "...
Marlon's user avatar
  • 359
0 votes
1 answer
1k 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 ...
Wildcard's user avatar
  • 580
0 votes
1 answer
1k views

Vagrant SSH's fine but Ansible is unable to ping (it's unable to SSH)

Here is my Vagrantfile. $ cat Vagrantfile # -*- mode: ruby -*- # vi: set ft=ruby : # All Vagrant configuration is done below. The "2" in Vagrant.configure # configures the configuration version (we ...
user2338823's user avatar
0 votes
1 answer
2k views

ssh to a new 'vagrant up' doesn't work until after the first time I run vagrant ssh

When I just start up a new vagrant evn. I can't ssh directly into the boxes until I do a vagrant ssh. Then I can ssh directly with out a problem. In the auth logs I see the following errors Sep 5 ...
nelaaro's user avatar
  • 13.6k
1 vote
0 answers
156 views

Does anyone know if/how you can run PowerShell on Vagrant Win10 VM with a macOS host?

I'm currently running Mojave 10.14.6 on the host machine, Vagrant 2.2.5, and Virtual box 6.0.10. I'm running a Win10 Enterprise box and am trying to access Powershell. I tried the vagrant powershell ...
EZRA's user avatar
  • 11
0 votes
1 answer
202 views

Vagrant ERROR: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.1.1 for ServerName

I was trying to get my own Virtual Machine running while reading the documentation about getting started with Vagrant and I set my first virtual machine. I am using Vagrant with VirtualBox, but after ...
Ann-Sophie's user avatar
0 votes
1 answer
207 views

How to run multiple networked applications concurrently on DOS?

For science, I am working on a Vagrant box for DOS. The virtual machine needs to support a remote command execution service, such as sshd or telnetd, so that administrators can run COMMAND.COM scripts ...
mcandre's user avatar
  • 3,036
0 votes
1 answer
46 views

Oracle VirtualBox Manager settings change after doing "vagrant up"

I changed memory and processor settings in Oracle VirtualBox Manager but when I do vagrant up to activate my environment, the settings change back to default. I made sure to power off the virtual box ...
CemreY's user avatar
  • 101
0 votes
1 answer
558 views

VirtualBox multiple HostOnly NIC no internet

I used Vagrantfile to create CentOS 7 VM: config.vm.define "endpoint" do |machine| machine.vm.box = "centos/7" # for all available boxes go to https://app.vagrantup.com/boxes/search # machine....
overflowed's user avatar
1 vote
0 answers
77 views

Forward output from Docker container while provisioning vm with Vagrant

Is there any option to see the output from Vagrant's Docker provisioner running a container? My Vagrantfile: Vagrant.configure(2) do |config| config.vm.define "barge" config.vm.box = "ailispaw/...
pikerr's user avatar
  • 11
0 votes
1 answer
416 views

“/etc/hosts” hostnames ignored and searched instead in Safari and Chrome

I added the local url data 192.168.33.11 core-fine.local into /etc/hosts, saved the file and for a time I was able to serve and see a local website powered by Vagrant. It was all working just fine ...
sisko's user avatar
  • 173
1 vote
1 answer
231 views

i want to reuse vagrant after i shutdown ubunto in Vertual box :

$ vagrant init Vagrantfile already exists in this directory. Remove it before running vagrant init. I want to use the existing file
anass khalid's user avatar
0 votes
0 answers
83 views

Problems running someone else's Vagrant box

I have Vagrant installed and am trying to get someone else's box up and running and I'm getting this error: The provider 'parallels' could not be found, but was requested to back the machine '...
lefty_lucy_righty_tighty's user avatar
1 vote
0 answers
162 views

Vagrant - share guest VPN with host

There already is a topic about sharing the host vpn with the guest (Vagrant - share host VPN with guest). Is there a way for the other way around?
T305's user avatar
  • 11
1 vote
0 answers
201 views

How to derive a new vagrant box from an existing one with new MAC address?

I want to build a virtual machine (with some Linux distribution) with Virtualbox and then use the built virtual machine to somehow "derive" (for lack of a better term) other virtual machines from it ...
trane's user avatar
  • 11
1 vote
2 answers
5k views

Vagrant error with libvirt

I'm trying to set up vagrant for the first time in my life while following a tutorial. I'm using the VVCW box because I want to work with WordPress with it. So I downloaded the zip file and unzip it ...
FabioB's user avatar
  • 65
1 vote
0 answers
129 views

Vagrant Windows 10 box does not reset evaluation days remaining

My trial/evaluation Windows 10 box in Vagrant does not reset the days remaining of the trial every time I vagrant destroy then vagrant up or when I uninstall Vagrant/Virtualbox and delete local boxes ...
jared_hexagon's user avatar
2 votes
0 answers
241 views

How exactly do I run my first, auto-generated 'chef' cookbook on Windows?

I'm very inexperienced with Windows. I'm trying to set up Chef, such that I can avoid duplicating a bunch of "initial setup tasks" everytime I install Windows on a machine, as a developer (enable ...
ELLIOTTCABLE's user avatar
  • 2,475
1 vote
0 answers
84 views

Vagrant networking with company network

I've got a VM running with Vagrant, but I'm unable to access our company's GitHub Enterprise domain (or any other internal domain within our company network) from within the VM. I'm able to access ...
Justin Chao's user avatar
3 votes
2 answers
11k views

I can't login in my laravel application

So I was working with a Laravel application and something went wrong, so I wanted to charge an early backup version of it. The application is from the company I'm currently working for and I was ...
Coexito's user avatar
  • 31
1 vote
1 answer
1k views

Unable to mount folder with Vagrant & Vagrant box laravel/homestead on vagrant up

I am on macOS and have installed virtualbox, vagrant & laravel homestead following the setup at https://laravel.com/docs/5.6/homestead. My versions are: macOS 10.14.4 vagrant 2.2.4 vagrant box :...
Julian S's user avatar
1 vote
1 answer
983 views

How to expand storage for vagrant box on Windows host

I'm trying to increase the storage space on my vagrant box from 18 GB to 50 GB. The vagrant box is running Ubuntu and the host is Windows 10. There are similar questions on this forum for expanding a ...
yvoloshin's user avatar
  • 135
0 votes
0 answers
883 views

Vagrant machine on VirtualBox won't boot due to VERR_SUP_VP_THREAD_NOT_ALONE

The boot does not work. Vagrant: 2.2.0 VirtualBox: 5.2.22 Windows 10 Git BASH: mintty 2.9..6 (x86_64-pc-msys) Oracle error Here: Here rais the error code on Git BASH: $ vagrant up Bringing machine '...
Josafoot's user avatar
  • 101
1 vote
0 answers
785 views

Port-Forwarding Virtual Box Vagrant

Problem: I can access my guest-vm on port 8080 only when I have an open SSH-Tunnel via Putty or via cmd ssh -L 8080:localhost:8080 [email protected] What I am trying to accomplish: I want this ...
M8RTAL's user avatar
  • 11
0 votes
1 answer
176 views

vagrant triggers not as straightforward as they seem

so i'm a little confused about the lifecycle of the triggers box.trigger.after :up do puts "test after up" if File.file?('./.vagrant/status') puts "status file already created" else ...
Eli's user avatar
  • 103
3 votes
1 answer
2k views

How can I enable promiscuous mode using ubuntu in vagrant?

There are other questions here that are similar but none of the answers have worked for me. I can successfully enable promiscuous mode for virtualbox settings with my vagrant config using ubuntu with ...
openCivilisation's user avatar
5 votes
1 answer
1k views

How to generate a vagrant file to replicate an existing (non-vagrant) VirtualBox running Debian?

I have a VirtualBox VM, created "by hand" (i.e., without using vagrant at all), which runs Debian. What is the simplest way to generate a vagrant file that would replicate this box? Is there an ...
kjo's user avatar
  • 1,241
1 vote
2 answers
719 views

Some (but not all) DNS lookups fail on vanilla Ubuntu 18.10

Proxy fun I create an Ubuntu 18.10 virtual machine on my Windows 10 host using Vagrant with VMware Workstation 15. The VM appears to work fine, including most network access. But for one important ...
Lutz Prechelt's user avatar
2 votes
2 answers
7k views

How to share (config.vm.synced_folder), directories between Windows 10 and CentOS7 Virtual Machine created using Vagrant and VirtualBox

I'm trying to create a VM CentOS7 using Vagrant (2.2.3) and Virtual Box (6.0.4), on Windows 10 using the following Vagrant file Vagrant.configure("2") do |config| config.vm.box = "bento/centos-7" ...
Cesare's user avatar
  • 83
4 votes
1 answer
5k views

Non-interactive apt upgrade

I'm trying to provision a machine using Vagrant and plain bash scripts. The two lines are: DEBIAN_FRONTEND=noninteractive apt-get update DEBIAN_FRONTEND=noninteractive apt-get upgrade -yq However, ...
Radu Stoenescu's user avatar

1 2
3
4 5
12