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

learn more… | top users | synonyms

-1
votes
0answers
19 views

Am I choosing Docker for the proper use case?

I have done some reading comparing using Docker container VS. using Vagrant. Specifically on a Windows 7 machine (which is my work machine). As a developer, I have set up a CentOS 6 LAMP Virtual ...
0
votes
0answers
13 views

How to reliably delete a docker container?

I develop asp.net website which relies upon some linux-based storage systems (redis, elasticsearch, elliptics, etc) and use vagrant for deploying those and some other software to my machine and for ...
1
vote
0answers
22 views

VMware failing to start network interfaces (vagrant)

On some routers, vagrant up fails with the following error (or similar, the vmnet* number might change): Vagrant failed to start the VMware network interfaces! The output of the failed command, if ...
0
votes
1answer
49 views

Can't “vagrant up” atlassian box

Windows 8.1, latest vagrant and VirtualBox versions. Running commands in git CLI on Windows. I was able to start up ubuntu/trusty64 without any problem, and did not need to log in to atlas.hashicorp....
1
vote
0answers
19 views

Disable NFS sharing when the host is Windows

Our VM works nice on Linux, but on Windows, I want the sync_folder to be off (we'll code remotly on the machine, it'll be faster) Is there a way to execute this code on OSX & Linux WHILE ...
0
votes
0answers
4 views

Vagrant custom box hostname

I packages custom Vagrant Box for CentOS-6.5. The hostname was set to say co65_hn when vm was packaged into box. When I import this box and give different name in config.vm.hostname in Vagrantfile. It ...
0
votes
1answer
57 views

Vagrant mount failing on windows 10

I'm trying to do a vagrant up on a new project and the mounting of the folder seems to fail. I already tried to us the VBoxGuestAddition hack but it's not cutting it. Vagrant 1.8.1 Virtualbox 5.0 ...
0
votes
0answers
12 views

How to prevent another vagrant instance overriding /etc/exports file

I have multiple Vagrant for different projects. Whenever I vagrant up either instance causes the /etc/exports file to get overridden. The first vagrant instance synced directories get overridden by ...
0
votes
0answers
15 views

Minimum PC/Laptop requirement for install Vagrant

Can you tell me references about the minimum requirements to install Vagrant. Cause I can't find at official site Vagrant
0
votes
0answers
11 views

Access files from a backup vbox file

Using Windows 10, I attempted to update my Ubuntu 14.04 virtual machine over ssh (using Vagrant) and the update failed. After that, I could not log back into the virtual machine, so I pulled from a ...
0
votes
0answers
21 views

How to make guard/listen work on Mac/Vagrant

I'm trying to set up Guard and Listen in order to forward fs events from host Mac system to guest Linux. Maybe it's just me but the documentation is not clear to me - I have not been able to make it ...
0
votes
1answer
83 views

AHK won't start Vagrant/Cmder on boot/reload?

I have the following AHK script in my startup folder, there's also a few shortcuts before this, they work but this bit doesn't, any idea why I can't startup my dev environment on windows startup? ; ...
0
votes
1answer
11 views

Initialize ~/.subversion config directory during Vagrant provisioning

Setting up a Linux-based Vagrant box and configuration, I am looking at the following problem: During provision stage, I am installing Subversion. I would like, also during the provision stage, to ...
0
votes
2answers
38 views

Virtualbox vagrant guest can not use host DNS

On my company Windows 10 host I can successfully ping a.b.c. I have vagrant guest on Virtualbox and when I call ping a.b.c I got error Unknown host I found that I should use natdnshostresolver1 on. ...
0
votes
0answers
62 views

Using vagrant on Windows 7, port forwarding not working

I installed vagrant and Virtualbox on Windows 7 and created a Ubuntu 14.04 VM. Everything seems fine, when I start Virtualbox, I can access the terminal in the guest machine, and confirm that sshd is ...
0
votes
1answer
69 views

Connection Refused on Host OSX 127.0.0.1:3000 for Vagrant/VirtualBox/nginx Rails App

The Rails application is running on port 3000: $ bundle exec rails server -b 0.0.0.0 => Booting Unicorn => Rails 3.2.21 application starting in development on http://0.0.0.0:3000 => Call ...
0
votes
0answers
52 views

Issues with connecting 'public_network' in vagrant and Virtual box

I have a Vagrantfile like below: Vagrant.configure(2) do |config| config.vm.box = "ubuntu/trusty64" config.vm.box_check_update = false config.ssh.forward_agent = true config.vm.network "...
1
vote
2answers
47 views

How to encrypt VM box via VBoxManage?

I've created VM box via Vagrantfile, however when I'm trying to encrypt the storage, I've got the following error: $ VBoxManage encryptmedium aaa-bbb-ccc-ddd-eee --newpassword - --newpasswordid ...
1
vote
0answers
18 views

Multi-machine Vagrantfiles do not properly resolve collisions

When creating two VM's with Vagrant v.1.8.1, the second VM also want to use port 2222 (even though there was a collision resolved to port 2200): Here's my Vagrantfile: Vagrant.configure("2") do |...
0
votes
0answers
10 views

Command to shut down consul/vagrant

I am new to vagrant and consul. In my folder I installed the following. . Then I go to the folder type the command vagrant up. The shell command bootstrap.sh is sudo -s <<EOF yum makecache ...
0
votes
0answers
23 views

Vagrant Public Network, IP, Using .dev

My end goal is this: Create a public networked Vagrant box with Computer1 that is accessible via LAN/Wi-Fi with a local domain like example.dev. First off, I have read this question on Vagrant Public ...
4
votes
3answers
2k views

Virtualbox Guru Meditation error when starting an Ubuntu 16.04 guest on OSX host using vagrant

Host OS version: OSX El Capitan 10.11.4 (15E65) Virtualbox version: 5.0.18r106667 Vagrant version: 1.8.1 Guest: Ubuntu-16.04 My vagrantfile looks like 1 Vagrant.configure('2') do |config| 2 ...
1
vote
0answers
41 views

Prevent Vagrant from manipulating /etc/hosts

When config.vm.hostname is set in a Vagrantfile, Vagrant manages the hostname. Furthermore, and this is the bad part for me, it manipulates /etc/hosts to contain the hostname pointing to 127.0.0.1 (...
0
votes
1answer
41 views

connection refused for vagrant ssh

I am having trouble connecting to my vagrant box using vagrant ssh. There are no error messages when running vagrant up, I can also connect directly using the VirtualBox ui. When I run vagrant ssh I ...
0
votes
0answers
6 views

Can I create a burnable image from a custom vagrant box

I'd like to create and develop on a UbuntuMate image using vagrant. My question is, can I then create a burnable/bootable image of that OS and bootup on my raspberry pi? Can an image lauched and ...
0
votes
1answer
27 views

Vagrant VM connect to remote host

I have a Vagrant VirtualBox VM running Debian Linux. I want to connect from inside the VM to another host on my private network (say, 192.168.25.111). My network inside the VM looks like this: $ ...
0
votes
1answer
54 views

Git GUI on Windows not seeing .git folder from Samba share

THE SCENARIO I am using Vagrant,Windows environment and running Ubuntu inside the virtual box for my development work. I have setup an instance of Samba server and I run the I access the virtual ...
0
votes
0answers
51 views

After installing Vagrant, nothing happens

C:\>vagrant C:\>_ and none of the commands work C:\>vagrant up C:\>vagrant init -h C:\>_ etc. It's in the PATH variable: PATH=...C:\HashiCorp\Vagrant\bin;... Did something ...
0
votes
0answers
96 views

Is it possible to create a swap file for a Linux guest VM managed by Vagrant?

In my Vagrantfile I have the following provider defined: Excerpt from Vagrantfile: config.vm.provider :virtualbox do |vb| vb.gui = false vb.customize ["modifyvm", :id, "--memory", "4096"] end ...
0
votes
0answers
61 views

Telnet to smtp.gmail.com 25 timing out inside vagrant box

Vagrant 1.8.1, Virtualbox 5.0.16, Windows 7. Vagrant using hashicorp/precise64 image. No modifications done to Vagrantfile. Using the default NAT networking. vagrant@precise64:~$ telnet smtp.gmail....
2
votes
0answers
76 views

Fedora, vagrant and libvirt

In my continuing attempts to get vagrant up (* No kernel sources available for 4.4.4-301.fc23.x86_64) I have been trying to use the libvirt provider because libvirt is faster and does not require ...
0
votes
0answers
69 views

VirtualBox abort guest VM intentionally

I am wondering if someone knows how to abort a VM (linux box) in VirtualBox 5.0 intentionally? I've googled this to no avail as everyone complains why their VM's get aborted in state. I am recreating ...
0
votes
1answer
977 views

Shell provision script not creating .bash_aliases

I'm using Vagrant with VirtualBox to create an Ubuntu guest VM, on a Windows 10 host. Here's my Vagrantfile: # vi: set ft=ruby : Vagrant.configure(2) do |config| config.vm.box = "ubuntu/trusty64" ...
0
votes
0answers
30 views

Vagrant private network with connection to the Internet

We have a set of integration tests which spin up several virtual machines. These VMs communicate with each other but also needs access to the outside world (e.g. yum repositories). We're considering ...
0
votes
0answers
71 views

Vagrant can't rsync Windows

I have a problem with Vagrant. I'm using a CentOS vm. The vagrant up command sucessfully maps files from Windows to the CentOS vm, and gives no errors when bringing the machine up. EDIT: $...
0
votes
0answers
21 views

Why isn't `.vagrant` folder getting shared with my guest?

I've a bunch of files in the root folder where the Vagrantfile is, but when I ssh into my node and check /vagrant everything is there except for the .vagrant folder. How can I share this folder with ...
0
votes
0answers
100 views

err: Could not request certificate: getaddrinfo: Name or service not known

Everytime I run puppet agent -t I get this error err: Could not request certificate: getaddrinfo: Name or service not known Exiting; failed to retrieve certificate and waitforcert is disabled I ...
-1
votes
1answer
20 views

Private key to connect to the machine via SSH must be owned by the user running Vagrant

I am trying to follow this vagrant tutorial. I get error after my first two command. I wrote these two command from command line $ vagrant init hashicorp/precise64 $ vagrant up After I ran vagrant ...
0
votes
0answers
30 views

How do I use an existing VMDK with Vagrant?

I have an existing VMDK of an old virtual machine, I would like to use that again, can I? How do I do it?
1
vote
0answers
53 views

IP Packets for one (VirtualBox/Vagrant Host-Only) guest IP are sent to Windows 10's default gateway instead of link local

I can't ping from my Windows 10 host (192.168.12.1) to one specific IP address (192.168.12.2) on a VirtualBox host-only network. The packet is sent to the default gateway (192.168.101.4) rather than ...
0
votes
0answers
17 views

provisioner running script as root instead of user

I am trying to install some software through a vagrant provisioner on a virtual machine. I can install the npm generator-hubot When the script gets all the way to yo hubot it gives me an access ...
0
votes
1answer
20 views

Vagrant box not talking to mysql on Mac through 127.0.0.1

I'm running a vagrant box to host local sites. Importantly, the mysql server is running on the Mac, not the VM. When I've set the site configuration files to use localhost the site loads properly, but ...
0
votes
0answers
14 views

Setting up Cluster on Vagrant using Bro Network

I'm trying to set up a cluster in vagrant. What I want is pretty simple, I just want 1 master and 1 slave. Inside the master I already installed Bro Network to use broctl. This is my Vagrantfile: ...
0
votes
1answer
73 views

Installing virtualbox inside VM

I have got citrix desktop VM as my main machine to work in my office. I want to develop on linux rather than on windows. So i am trying to install virtualbox. I installed virtual box and vagrant. ...
0
votes
0answers
11 views

Allow Vagrant Box to be accessible on the internet

I am trying to make a Vagrant box with VirtualBox to be accessible over the internet, how do I setup my Vagrantfile? I read about vagrant share and it is not what I am looking for. An example of ...
0
votes
0answers
73 views

Vagrant: cannot access machine after host is suspended and resumes

I use Vagrant for staging development environments. The host machine runs Ubuntu 15.10. Occasionally the host is suspended / goes to sleep. After resume, though, the VM becomes inaccessible. I can'...
-1
votes
1answer
101 views

How to find the reason for frequent occurrence of WHEA Uncorrectable error

Since past few days, My system is crashing frequently always with the same error WHEA-Uncorrectable Error. I found online that, it is something related to hardware might be due to overclocking or ...
0
votes
0answers
49 views

Can Vagrant use Hyper-V server as a provider?

Can Vagrant be used to provision Virtual Machines using Hyper-V server, such as Hyper-V server 2012 or 2016? Our lab has Windows licenses for guests, so since Vagrant already has support for Hyper-V ...
0
votes
0answers
16 views

Existing vagrant vm(s) cannot be recgonized on fresh Windows

I just switched from Win8.1 to Win10 (installed on separate ssd). I installed VirtualBox and imported existing vm machines. I installed Vagrant. Existing installation of Vagrant is on another hard ...
0
votes
0answers
33 views

Vagrant interface issues

Using a very simple Vagrantfile # -*- mode: ruby -*- # vi: set ft=ruby : # See README.md for details VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config....