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

learn more… | top users | synonyms

0
votes
2answers
15 views

VirtualBox shared folders returning file not found when loading over HTTP

Hi I have a VirtualBox image which I am starting with vagrant and mounting two shared folders. The folders mount without a problem and are visible when I SSH to the guest machine, but when I try to ...
0
votes
1answer
16 views

How to obtain a local network IP address for a VM running on Vagrant/VIrtualBox

I have a VM running on Windows using Virtual Box and Vagrant. How do I assign a local network IP address to this VM using a local DHCP? The requirement is for this VM to be visible on the local ...
3
votes
1answer
84 views

VMware vmnet2 routes collide with en0

I am getting the following error when starting a vagrant box: gajus:vagrant gajus$ vagrant up Bringing machine 'default' up with 'vmware_fusion' provider... ==> default: Checking if box ...
3
votes
1answer
243 views

Vagrant windows 8.1 box timeouts - even though the machine boots correctly

I have a simple vagrant master box, that has Windows, drivers for it, and VB guest additions installed. I've added that machine as a box, and tried creating a simple vagrant vm with only the basic ...
0
votes
1answer
16 views

Vagrant and ansible facts

Is it possible to have ansible display facts about a vagrant box? The ansible documentation uses ansible hostname -m setup even if I connect with the vagrant user I would still need the ssh key ...
1
vote
0answers
15 views

Sourcing .bashrc does not enable use of nvm

I'm trying to set up a shell script to run in the context of a user account after the creation of a virtual machine using vagrant; I am a windows user so I've limited exposure to bash scripting. I'm ...
3
votes
1answer
45 views

Vagrant + Virtualbox CPU utilization very low in Windows 8.1

I am running a Virtualbox VM that runs Ubuntu 14.04 LTS provisioned by Vagrant. There are 2 physical cores in my computer (Dell Inspiron Laptop), which I assigned both of them to the VM (this I ...
0
votes
0answers
13 views

vagrant provision problems - 3 fails on restart php5-fpm

I have a MacBook with OSX Yosemite. I have one Vagrantfile that successfully runs, so I know vagrant does work on my system. However, I have a second repo that runs vagrant that requires an npm ...
2
votes
2answers
3k views

How do I upgrade vagrant to last version in ubuntu?

How do I upgrade vagrant to last version in ubuntu? sudo apt-get update sudo apt-get install vagrant vagrant -v --> Vagrant 1.4 ?? Last version is 1.6.5
1
vote
1answer
17 views

vagrant provision launches apps without ui on windows

I am trying to launch an application that needs ui on a windows box as part of "vagrant provision". I can see that the app is launched as the vagrant user in task manager but I see no ui on the ...
9
votes
3answers
7k views

Run script on host machine during vagrant up

I'd like to run a bash script on the host machine when before vagrant provisions the server. I can't quite figure out the best method of doing this. What would be the best method of achieving this?
0
votes
1answer
14 views

Can the Vboxfs mount point be formatted?

As I am working on the Oracle XE 11g database installation on virtualbox guest os: CentOS 7. Installed all the prerequisite libraries. when I have run the rpm command it is not able to execute that ...
0
votes
0answers
12 views

Validate configuration before provisioning in Vagrant

I'm currently provisioning development environments on VMs using Vagrant. The Vagrant code is checked into GitHub and will be open source at some point, so we don't want to check in the authentication ...
4
votes
2answers
6k views

Vagrant Private Network IPs not working, but DHCP does

I have a vagrant config file with three VMs configured in it. All are identical except on has a static IP and the other two are on DHCP. The two which are assigned IPs by DHCP can talk to each other ...
0
votes
0answers
46 views

Port Forwarding SMTP on Vagrant Box

I'm trying to set up a basic postfix server on my local vagrant virtual machine. I followed this tutorial and then telnetted into the server to send a test email, from this document. When I try to ...
1
vote
1answer
42 views

SSH issues when launching windows8.1 VM from vagrant

As described on title, I'm having some issues launching a win8.1 VM with Vagrant, where SSH never connects. The console display the error below: default: Warning: Connection timeout. Retrying... ...
2
votes
1answer
23 views

Setting up cluster with vagrant

I want to create a cluster of 4 CentOS VMs using Vagrant. I installed Vagrant and VirtualBox on my Widnows machine, downloaded the CentOS 64 box and created the cluster. Steps: Execute 'vagrant box ...
0
votes
0answers
11 views

GPG agent over SSH (with vagrant)

I'm using vagrant for building and signing my debian/ubuntu packages but I'd prefer to not have have to copy my GPG keys into the virtual machine just to sign packages. It just feels insecure. Is ...
1
vote
1answer
45 views

How to change the ssh host in Vagrantfile

I run vagrant(1.7.2) on Mac OS(10.10.3) with Snappy Ubuntu Core(15.04 stable), for docker, using VirtualBox 4.3.28 as a provider. It all went well before I configured the "public_network" in ...
3
votes
1answer
69 views

DNS not functioning on command line

I recently did a combination of Vagrant + VirtualBox stuff on my machine to try to get a virtualized Ubuntu install working. However, I had no luck with it so I just uninstalled everything. Ever since ...
0
votes
0answers
58 views

How do I prevent my vagrant box from shutting down on switching wifi networks?

Every time I switch WiFi networks, my vagrant box shuts down, and I have to do vagrant up, then vagrant ssh to get it back up. Is it possible to change this behaviour? My vagrant box runs atop ...
11
votes
3answers
12k views

Need to do Bridged Adapter only in Vagrant, no NAT

So I'm having an issues with a vagrant setup of 'hashicorp/precise64' on my MAC book. First, my config: VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| ...
0
votes
1answer
539 views

CentOS 7 Vagrant VM partially losing network connectivity

I am using a self-built Vagrant base box running a minimal installation of CentOS 7 (I created it following Vagrant's documentation - if you want more information, I outlined the process in an article ...
3
votes
1answer
86 views

Getting Mac Docker client to connect to virtualbox via vagrant

I am trying to expose dockers tcp ip to my host docker client. I have the following setup Virtualbox 4.3.26 r98988 vagrant 1.7.2 Mac OSX Mavericks 10.9.5 Centos 6.6 vagrant box running (docker ...
2
votes
1answer
16 views

From where does “vagrant up” know which machine to power up

I have machine #1 running fine and vagrantfile is in main folder. Now I want to create a new copy of that machine for testing. So I copy the main folder to main2 and change the vagrantfile with ...
0
votes
0answers
110 views

Using vagrant and docker on Windows

I'm trying to dockerize my rails application but I have one tricky constraint: one of the developers is using Windows. Vagrantfile: # -*- mode: ruby -*- # vi: set ft=ruby : ...
0
votes
1answer
32 views

Vagrant Networking - can ping IP but not a FQDN

I have a CentOs vagrant machine and I have no problem pining an IP address such as: 216.58.223.4 When I try and ping: www.google.com, it is unable to find the network. /etc/resolv.conf This file ...
82
votes
4answers
32k views

Why should I use Vagrant instead of just Virtualbox?

I've been using Virtualbox for many years to create a development environment. A lot of my colleagues are talking about Vagrant and many people seem very excited about it but I just can't seem to ...
5
votes
1answer
359 views

How do I create a hardlink in guest user in virtualbox

Apparently, VirtualBox does allow to create hard and soft links inside guest os on shared folders . Now the thing is I need to install a package that is creating hard links Hardlink("lib/abc", ...
1
vote
1answer
855 views

Vagrant error: The provider 'aws' could not be found

I am using Vagrant 1.6.5 and trying to deploy to Amazon AWS. I can successfully deploy to DigitalOcean, but with AWS I get the error: The provider 'aws' could not be found, but was requested to back ...
0
votes
1answer
73 views

Apache reverse proxy over Vagrant box - phpmyadmin wrong redirect

I'm running a vagrant box (Debian Wheezy) with port forward NAT networking, redirecting the browser to it through apache2 reverse proxy. Reverse proxy vhost: <VirtualHost *:80> ServerName ...
0
votes
0answers
39 views

vagrant boot2docker init - unkown SSL protocol error

Trying to setup a vagrant boot2docker box inside Cygwin on my Windows 7 machine. I ran: vagrant init mitchellh/boot2docker and vagrant up Here is the output: $ vagrant up Bringing machine 'default' ...
0
votes
0answers
71 views

Error installing Chef Server on Vagrant-managed Ubuntu 14.04.2 LTS

I'm trying to set up a Chef Server on a local VM using Vagrant/VirtualBox. My Vagrantfile is: Vagrant.configure(2) do |config| config.vm.box = "ubuntu/trusty64" config.vm.hostname = ...
0
votes
0answers
10 views

How to connect psql to the forumdb.py(a python file) in ubuntu?

I have my system with UbuntuOS installed. I am following an online course where it indicates the use of Vagrant and connects your Windows/Mac system using the Virtual Box having Linux installed in it. ...
6
votes
1answer
5k views

How to configure a firewall on Centos using Vagrant and Chef

I've created a server box using Vagrant and Chef and everything is up and running correctly. However, when the box is installed from scratch the default iptables rules are in place and so I need to ...
1
vote
1answer
52 views

CentOS vhosts causing issues with Vagrant Share command

I'm running Vagrant on my Mac. I have a CentOS 6.4 box running with the Virtualbox provider and puppet (not important in this context). This is a basic Vagrantfile to show the issue I have: ...
1
vote
0answers
71 views

OSX: Locking in vagrant with Ubuntu guest using NFS doesn't work

On OSX 10.10.3 using VirtualBox 4.3.26 and vagrant 1.7.2 when using NFS for the shared folder in a Ubuntu 14.04 LTS guest, PHP application ins the guest trying to use LOCK_EX on the shared folder ...
16
votes
5answers
21k views

SSH Basics on Vagrant VMs

I'm building a vagrant machine (Ubuntu 12.04) with the following requirements: SSH access via Vagrant to a user with sudo-privileges. I've generated public/private keys (via ssh-keygen) on the ...
0
votes
0answers
58 views

Can't Access Vagrant Page from Windows, but can access with curl from inside the box

I copied a vagrant/puppet setup I use at work because I wanted to mess around with Node.js more on my free time. This is my first time setting up vagrant on my personal Windows 7 machine. I'm going to ...
2
votes
1answer
188 views

Homestead/Vagrant virtual server error: default: stdin: is not a TTY

Mac OS X 10.10.1 Vagrant 1.7.2 Laravel Homestead 4.2 When attempting the command vagrant up the server appears to boot, but then seems to fail, returning to the command prompt. Boot up seems to be ...
0
votes
1answer
94 views

Connect to Vagrant (VirtualBox VM) over local network

Hi I'm running a local webserver using vagrant virtual machine. I Normally set the following config line to private network which lets me connect from my host pc using the ip specified ...
0
votes
1answer
33 views

Why doesn't vagrant password work on Windows 7?

I am installing vagrant(version 1.7.2) on Windows 7. During vagrant up process, I addconfig.ssh.insert_key = false according to vagrant prompt. Then I use the following SSH command to login: ssh -p ...
0
votes
0answers
13 views

Where do you place the “preseed.cfg” file?

I’m trying to create a Ubuntu Vagrant box using Packer. I’m confused about where to place the preseed.cfg file. Does it have to be in directory mentioned in http_directory?
0
votes
1answer
29 views

Two Vagrant VMs caused network issues

It seems that when I make a new virtual machine, my private networks are not reachable from the host. I assigned different IP addresses to both, and included them in my /etc/hosts file, however I'm ...
0
votes
0answers
24 views

Files attributes in Vagrant (VirtualBox) Linux guest, with Windows as a host

By default Vagrant (via VirtualBox) has a share /vagrant, which is a perfect place for project source code, as this is a root directory where Vagrantfile is located on host. The problem is my host OS ...
0
votes
1answer
105 views

How can I preserve content in shared/synced vagrant directories on exported / packaged box?

I am trying to export a machine I created with vagrant to either an OVA file for Virtualbox or a package to host in vagrantcloud. The machine exports successfully, but then when I start it up, the ...
0
votes
0answers
31 views

Issues with git on Hyper-V Vagrant box

I am running Ubuntu 12.04 on a Hyper-V box with Vagrant on Windows 8.1. I can git clone all of my smaller repositories from BitBucket and Github, but I have a repository that is decent sized (>10MB) ...
0
votes
1answer
72 views

Vagrant to model network environment

I'm wanting to use vagrant to model live network setup for debugging purposes. More specifically I'm wanting a network that of VM's that resembles the following: ---> 10.1.1.58/30 eth0 router1 ...
0
votes
2answers
220 views

Share Vagrant docker to host

I am setting up a Vagrant box with a development environment. I have some web apps running, some more services, a database and a docker inside Vagrant. Most services are used internally and I do port ...
2
votes
1answer
415 views

Vagrant virtual machine automatically halting when laptop is put to sleep

I’m using a Vagrant box (running in VirtualBox) I got from a third party and it always automatically shuts down when I put my MacBook Pro to sleep. When I wake up my laptop I need to run vagrant up to ...