Vagrant is a tool to create and configure lightweight, reproducible, and portable development environments. By default, it uses Oracle's VirtualBox for these virtual environments, but support for other virtualization systems is available. Most questions about Vagrant should be asked on Super User or ...

learn more… | top users | synonyms

0
votes
1answer
21 views

Ansible sudo error while building on Atlas

I've been trying to build my Vagrant configuration on Atlas. Also I'm using ansible for provisioning and i have some sudo issues. After setting up VM while trying to run ansible playbook on Atlas I ...
0
votes
0answers
11 views

Package libapache2-mod-fastcgi is not available when trying to install FPM on Debian 7.8

I'm using Vagrant with Debian 7.8 and wanted to clone our production server. Our production server has php-fpm installed, however, I'm not able to install it. When trying to install my packages for ...
-1
votes
0answers
4 views

How to force Vagrant to have a single, bridged, network interface [migrated]

Using vagrant 1.7.2 on OSX (MacBook Pro), Ubuntu 14.04 guests, VirtualBox 4.3.26. Mac is connected to the world via standard WiFi interface. I want the Vagrant boxes to use the bridged network on the ...
0
votes
2answers
28 views

Puppet - Automatic provisioning with Vagrant VMs

I have three virtual machine that I have created using Vagrant. This virtual machine have as box ubuntu/trusty64. I have created all VMs in the same Vagrantfile as single project. To provision it, I ...
0
votes
0answers
8 views

HAProxy inside docker container on a Virtualbox don't get header host [migrated]

I have a HAProxy running inside a docker container that listens traffic on port 80. I'm using acl to route certain requests like so: frontend www-http bind *:80 ... acl host_web_app ...
0
votes
0answers
24 views

Vagrant - Install simple apache2 server

I'm trying to do one example of Vagrant use, using shell as provisioning and installing apache2 to try: Port forwarding Apache2 server To make that, I'm trying to use the follow Vagrantfile and ...
1
vote
0answers
18 views

What am I “not getting” about Vagrant deployment, especially with respect to vSphere

I've recently set up VVV and VV among other things, and they've been great. So great in fact that I want to deploy them as boxes to production. So I have one box that hosts a WordPress site on it. ...
0
votes
0answers
8 views

How to convert Dynamically Sized VirtualBox Hard Drive to a Fixed size? [migrated]

I have been trying to convert the Dynamically sized hard drive to a fixed size to increase the VM box performance. I tried to follow the instruction on Convert Dynamically Sized VirtualBox VDI Hard ...
0
votes
0answers
32 views

Puppet : Invalid resource type anchor

Im trying to install our 'flume_ng` to mimic our prod environment. After organizing the directory structure, I use the puppet apply command sudo puppet apply -e 'include flume_ng' ...
2
votes
2answers
28 views

Setting a MAC address from file for a VM

I'm not sure if this is entirely possible so thought it was worth asking. I would like to use Vagrant to allow users to spin up a VM when needed. However, on our network devices must be registered via ...
1
vote
2answers
40 views

Can't connect to a Vagrant/VirtualBox virtual machine

My ultimate goal is to install Puppet on a Vagrant CentOS box. The installer is tells me to connect to https://localhost:3000. My host is Windows. To troubleshoot why I can't connect I started ...
0
votes
1answer
42 views

Debian server is showing PHP code instead of interpreting it

I was told on stackoverflow to post this question here: Scroll down to see result of things I've done based on suggestions I am setting up my first project using Vagrant. I chose the following ...
0
votes
1answer
39 views

What benefit is there to using Vagrant for AWS resource management when using Ansible for provisioning?

I understand that Vagrant is a tool to create and manage virtual machines; and that Ansible is a tool to configure one's machines (virtual or otherwise). However, Ansible's AWS modules are capable of ...
0
votes
0answers
6 views

How to list vagrant private_network ip addresses [migrated]

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 ...
1
vote
0answers
24 views

Why does Vagrant occasionally 'forget' that there is already a VM running when I try to SSH into Vagrant machine? [closed]

I keep running into an issue where when I try to SSH into my vagrant environment, it gives me the following error to the console: $ vagrant ssh VM must be created before running this command. Run ...
0
votes
0answers
17 views

Provisioning Vagrant Environments Capable of Cloning Repos Immediately

For some reason, I am having an incredibly hard time getting a working solution for this. We are ATTEMPTING to use Vagrant to provision our development environments. In regards to this post, our ...
0
votes
0answers
98 views

Vagrant FastCGI comm with server timeout

I'm trying to set up a vagrant box provisioned with puppet that installs a LAMP stack with php-fpm (apache 2.2 / php 5.5 / mysql5.5). It also adds a magento project in /var/www/src with the following ...
0
votes
1answer
22 views

multi machine vagrant file as a active-passive cluster

I have configured a multi-machine Vagrant file with two VMs acting as a mini failover active-passive cluster. As the running services are the same and running on the same port, Vagrant doesn't allow ...
0
votes
0answers
38 views

Create and synchronize development, staging and production servers?

I'm building a PHP application, and I'm running all the development environment (Netbeans IDE, Apache, PHP and PostgreSQL) inside the same virtual machine. I would like to prepare three diferents ...
0
votes
0answers
41 views

How can I use host only networking from Vagrant with a static IP?

I have a device on my host operating system with the following configuration: vboxnet2: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500 ether 0a:00:27:00:00:02 inet ...
0
votes
1answer
41 views

vagrant virtual machine making macbook run extremely hot [closed]

Everytime I run vagrant up to start my Vagrant box for development work my Macbook Pro fan kicks on and churns endlessly. The vagrant box is a Linux virtual server (CentOS) running Railo, Tomcat, ...
0
votes
1answer
81 views

fail to start postgresql when used with vagrant

Trying to start postgresql on a Virtualbox VM managed by Vagrant I have the following error: LOG: could not link file "pg_xlog/xlogtemp.29" to "pg_xlog/000000010000000000000001" (initialization of ...
1
vote
2answers
219 views

Copy files from guest to host the first time with rsync using Vagrant

When doing vagrant up a "shell" provision download some files into the synced folder. Those files should be also copied to the host machine synced folder, so that the project would be available from ...
0
votes
1answer
228 views

View PHP error logs on VM - Vagrant CentOS via Puphpet

I have a Vagrant VM running CentOS, which was built from a puphpet file (config.yaml), and I'm trying to get the PHP error logs setup and accessible. config.yaml - PHP section: php: install: '1' ...
0
votes
0answers
65 views

What port do I need to use to see the Rabbitmq management plugin via vagrant and docker on Mac OS X

I am on Mac OS X. I run the latest version (as of June 2015) of Vagrant, Docker, Virtualbox, and rabbitmq. I have the following Vagrantfile, and it all starts up well and rabbitmq also starts up well ...
0
votes
0answers
33 views

Vagrant: Mounting Home Directory via NFS

I'm running multiple VMs with the same operating system and I'd like to share my dotfiles between them. In setting up my vagrant file I originally tried: config.vm.synced_folder ...
1
vote
0answers
144 views

How to setup automatic SSH-tunnel to remote machine in vagrant

I've created a provisioner script which helps me to create an SSH tunnel to a remote machine from within my vagrant box (Ubuntu 14.04 LTS) every time the box is started. Interesting part of my ...
0
votes
0answers
44 views

Vagrant machine not install npm dependencys

I'm trying to build a virtual environment with Vagrant for there to make deploy a project in Node, the machine runs properly and after created and up to run a shell script to install: git, nodejs and ...
0
votes
0answers
118 views

500 error only in Chrome/Chrome Canary for Vagrant hosted site

I'm running a Drupal multi-site in a Vagrant box and when I hit one of the sites in Chrome or Chrome Canary I get a 500 Internal server error (http://site.localhost). When I hit the site in Firefox ...
0
votes
0answers
544 views

How to change the ssh auth method in vagrant, from password to private key?

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. I can manually ssh in the Ubuntu guest OS by a private key method in ...
0
votes
0answers
85 views

Chef / Vagrant - Kitchen cant connect to Update Jenkins

Iam getting crazy with Chef, Vagrant and Test-Kitchen. We have an customized Jenkins Cookbook, it works on "normal" Clients without Cooperate Network Proxys, but fails behind with the following ...
0
votes
0answers
79 views

Case-sensitive Mac image becomes case-insensitive in Vagrant

I used Disk Utility to create a case-insensitive disk-image which I then shared with my Ubuntu/Vagrant instance. It's odd. Even though that filesystem acts case-sensitively in Yosemite it becomes ...
1
vote
2answers
185 views

how to configure jenkins via chefzero vagrant provisioner

using the jenkins cookbook 2.2.2 ==> https://supermarket.chef.io/cookbooks/jenkins i can bring up jenkins in vagrant vm using chef_zero provisioner with chef.run_list = [ ...
0
votes
1answer
161 views

Stuck on gathering facts

I'm trying to run an Ansible playbook, but it seems to be freezing on 'Gathering facts'. This is the output: GATHERING FACTS *************************************************************** ...
-3
votes
1answer
246 views

How to set up port forwarding from Windows host to Vagrant Linux VM to Docker containers?

I'm using a Windows host, running CoreOS in Vagrant with VirtualBox provider, and in that CoreOS, I have Kubernetes 0.14.2 single-node cluster running (I couldn't get latest version, 0.15, to work ...
0
votes
1answer
169 views

Vagrant and MariaDB (provision)

I'm trying to create a provision file that installs MariaDB but it keeps failing. The provision looks like this: sudo apt-get install -y software-properties-common sudo apt-key adv --recv-keys ...
1
vote
1answer
70 views

service in vagrant VM not picking up configuration

I want to setup a Vagrant configuration to create and launch an Ubuntu guest VM which will launch a supervisord service within the VM after Vagrant up. I'd like for this to work on Windows, Mac, and ...
0
votes
0answers
39 views

ubuntu shell-script install php5 if files already exist

I have the Problem with a ShellScricpt on Ubuntu, because i use vagrant to setup an webserver and I have synced folders to the php5 folder and extension-folder. When I have files in the Folder before ...
3
votes
0answers
652 views

vagrant ssh - asks for password after adding synced_folder

I can vagrant ssh into my box fine Welcome to Ubuntu 14.04.2 LTS (GNU/Linux 3.16.0-30-generic x86_64) * Documentation: https://help.ubuntu.com/ Last login: Mon Apr 13 13:05:26 2015 from 10.0.2.2 ...
8
votes
2answers
502 views

Prevent Apache from starting after apt-get install

When I apt-get install apache2 the server starts automatically when install completes, and the default Apache configuration makes everything in /var/www/ accessible to the client side. Thus if I have ...
1
vote
0answers
36 views

Connecting to EC2 via SSH within Vagrant

I manage a service that has two major components to it: A single product server which runs on EC2 A number of staging environments which runs within Vagrant The staging environment connects to the ...
0
votes
0answers
108 views

Vagrant lxc container fails to start

I`m trying to set up a vagrant box with lxc container on Ubuntu 14.10. I use vagrant-lxc plugin and "fgrehm/trusty64-lxc" box. When I use vagrant up --provider=lxc console stops on ==> ...
0
votes
1answer
69 views

Migrate vagrant Ubuntu VM to physical machine

I am attempting to use vagrant and a puppet workflow to configure a Ubuntu production server VM which will host a web application. I want to be able to reuse this workflow to configure multiple ...
1
vote
1answer
1k views

where to download vagrant boxes [closed]

I know http://www.vagrantbox.es/ provide many vagrant boxes for us to use, but I found many of their url download address is out of date. vagrantcloud.com or https://atlas.hashicorp.com/boxes/search ...
0
votes
0answers
83 views

Access port forwarded http service inside host only network vbox (docker)

I used vagrant to create a host only network for my ubuntuserver machine with this option: config.vm.network "private_network", type: "dhcp" Inside this box I have a docker container which is port ...
2
votes
1answer
453 views

What is dd if=/dev/zero of=/EMPTY bs=1M

Often times I see this command for use when creating a Vagrant box sudo dd if=/dev/zero of=/EMPTY bs=1M To me it seams that it is copying a lot of NULL characters into a file named EMPTY at the FS ...
0
votes
2answers
388 views

Installing Docker with Vagrant fails because of ssh command behind proxy

I'm playing around with a Vagrant file on a machine which is behind a proxy. At the moment I stick in an issue where I'm assuming that has to do with the proxy server between. The following SSH ...
0
votes
0answers
64 views

Cannot start mysql on vagrant CentOS machine

I am getting the following problem doing "vagrant up" ==> default: [2015-03-10T16:31:03-04:00] INFO: template[default :start /etc/init.d/mysql-default] mode changed to 755 ==> default: ...
0
votes
0answers
194 views

Configure Selenium on Vagrant to use host browser

I am using a Vagrant box for local development. The guest OS is Ubuntu server. I now want to start running selenium tests in my dev environment, so I have Selenium Server running on the guest ...
1
vote
1answer
220 views

Create a local cluster with Vagrant/CoreOS/Docker

I'm trying to create a local environment for testing purpose composed of: a Vagrant CoreOS Cluster (3 nodes) a Docker container launched with an Nginx image loaded, launched on one node I've ...