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

learn more… | top users | synonyms

0
votes
0answers
11 views

Vagrant: Mounting folder using NFS version 4 in arch linux

I am trying to mount an NFS folder using Vagrant 1.7.2 in Arch Linux. Currently the mount is working by forcing it to use nfs version 3: gemini_dcr.vm.synced_folder '/scr', '/folder', type:'nfs', ...
0
votes
0answers
11 views

How to list vagrant private_network ip addresses

I have a variable number of vagrant boxes running on my computer, most of which have a private_network configured. When I set up a new one I always need to go through my Vagrantfiles to see which IPs ...
0
votes
0answers
36 views

VirtualBox Guest Addition failed to mount

I created a custom base box for Vagrant using packer and CentOS kickstart. After building the base box everything looks OK. ==> virtualbox-iso: Connected to SSH! ==> virtualbox-iso: Uploading ...
0
votes
1answer
27 views

Why would I want a custom Docker host VM instead of TinyCore Linux in boot2docker?

I've read about Docker, boot2docker and Vagrant's Docker provider and I guess I have a pretty firm grasp of how all of this works. However, there is still one thing I haven't quite figured out yet. ...
0
votes
0answers
12 views

Start a vagrant vm with windows as host without password

We have windows as host system on our Laptops. Since we want to use docker we created an vagrant VM. So far it is working fine, but one this is enjoying. Since we use this only for development we ...
0
votes
1answer
69 views

Vagrant up failed to mount folders in Linux Guest

I have some issues with Vagrant shared folders, my base system is Windows 8.1 Pro. My VirtualBox version is 5.0. The box comes from PuPHPet. I do not understand why I have this error is something ...
0
votes
0answers
22 views

SSH agent forwarding in Vagrant

My workflow consists of running at least two Vagrant VMs at the same time - one of them acts as a web server running the application and the other is used for local development (vagrant ssh => ...
0
votes
0answers
28 views

Passwordless ssh login to vagrant box from another user

I have a new user in my vagrant box(trusty64) and I am trying to ssh into it. Instead of logging into vagrant user after vagrant up, I want to login to my username. What I have done so far Created ...
0
votes
0answers
16 views

Large TTFB on Vagrant

I have a ttfb of approximately 15-20 seconds on a VVV vagrant install. I am using virtual box on windows 7 in case that makes any difference. I have tried reprovisioning and also tried increasing the ...
0
votes
1answer
27 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 ...
0
votes
2answers
37 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
34 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
30 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 ...
0
votes
0answers
24 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 ...
1
vote
1answer
25 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 ...
3
votes
1answer
68 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
15 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 ...
0
votes
0answers
76 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 ...
2
votes
1answer
35 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 ...
1
vote
1answer
54 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... ...
0
votes
0answers
19 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 ...
0
votes
1answer
16 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 ...
3
votes
1answer
82 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 ...
1
vote
1answer
68 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 ...
2
votes
1answer
18 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
123 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
43 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 ...
0
votes
1answer
88 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
56 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' ...
2
votes
0answers
107 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
13 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. ...
3
votes
1answer
111 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 ...
1
vote
0answers
93 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 ...
1
vote
1answer
59 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: ...
0
votes
0answers
79 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 ...
0
votes
1answer
38 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
17 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
31 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
32 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
0answers
37 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
118 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
0answers
70 views

Cannot access Ambari Namenode WebUI

I am trying to setup the Ambari HDP using Vagrant. I can access localhost:8080 fine with all services up and running. But for some reason I cannot access localhost:50070 to get to the Namenode WebUI. ...
0
votes
0answers
63 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 ...
0
votes
0answers
24 views

vagrant up from file schema is failed

I created vagrant box and put to windows file server. I do vagrant init and up.But vagrant up failed on windows command line bellow. Why failed? Vagrant do not deal with file url schema? ...
0
votes
0answers
86 views

vagrant vbguest plugin installation failure

I'm trying to setup a vagrant system for rails development following the instructions here https://gorails.com/guides/using-vagrant-for-rails-development. After installing the two plugins, vagrant ...
0
votes
1answer
144 views

How to properly remove localhost DNS settings on Mac so real world DNS resolution can happen

I’m having an issue removing some local DNS settings on my Mac that’s running Mac OS X 10.10.2 (Yosemite). I normally use the /etc/hosts file to direct requests from development sites to my guest ...
1
vote
0answers
142 views

Setting up our existing Vagrant / VirtualBox instance to use VPN when not in the office

I'm currently trying to edit our existing Vagrant / VirtualBox image so that when users aren't within our office network they connect through their OpenVPN connection on the host computer. After ...
0
votes
1answer
25 views

Vagrant GUI non-alphanumeric key bindings incorrect

I am starting to use Vagrant to stand up a development environment(want to ensure all teammates are developing on same environment) and seeing as it will be a development environment, I need it to ...
0
votes
0answers
120 views

Strange Vagrant X11 Forwarding Issue

I'm running Ubuntu 14.04 in a Vagrant VM. I'm also running Cygwin on the host machine. When I ssh -Y into various servers, I have no problem launching a remote X11 application. But....when I vagrant ...
0
votes
0answers
33 views

Having trouble building Vagrant bash script

I'm trying to set up a bash script provision to help build my virtual machine with Vagrant, but I'm clearly doing something wrong. Unfortunately the Vagrant docs don't provide any examples more ...