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
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
13 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
15 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 ...
-1
votes
0answers
36 views

Vagrant provisioning : failed to install Nginx

I used to launch a web project thanks to my vagrant box (a simple LEMP stack) provisioned with Ansible. And this time the provisioning failed when Nginx starts being installed. I don't know how to ...
0
votes
0answers
68 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
17 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
4 views

Large TTFB on Vagrant [migrated]

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
0answers
30 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
31 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
33 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
50 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
120 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
0answers
118 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
49 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
29 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
103 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
31 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
92 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
394 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
71 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
64 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
138 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
123 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
218 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
0answers
124 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
63 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
36 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 ...
1
vote
0answers
528 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
460 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
34 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
98 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
57 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
769 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
76 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
328 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
359 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
61 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
166 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
199 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 ...
1
vote
0answers
178 views

Using Docker and Vagrant with Node and Express

So before I start, I'm new to this and since I learn best when I give myself a project I wanted to user Vagrant and Docker to make a simple Node and Express server with a shared folder outside of the ...
0
votes
1answer
2k views

Apache virtual host is being ignored in Vagrant box

The issue I'm having is that when I visit http://d7.subdomain.example.org from my host machine, it takes me to the default apache It Works page. I'm on a Mac host with a Ubuntu 12.04 Vagrant box with ...
1
vote
1answer
334 views

Running Vagrant/libvirt: trying to establish public/private networks

I'm running Vagrant 1.7 (from their official 1.7 packages) on Ubuntu 14.04 LTS and I'm trying to provision several private VMs and one public one. My Ansible provisioning scripts change all the ...
0
votes
1answer
94 views

mina deploy failed from Vagrant Ubuntu/trusty32

I'm new to rails. Have spent this whole morning trying to debug this strange problem. I am trying to deploy my rails application using mina to a staging server. My server is Ubuntu/trusty32 14.04 ...
0
votes
1answer
242 views

SSH using Agent Forwarding with Windows Host OS, Vagrant Ubuntu Guest OS, and Keepass/Keeagent

Intent: To be able to deploy to lan-example.com from any dev environment; whether it be directly from the virtual OS, or any single-OS system, or even over the internet using ONE SSH key stored in ...
0
votes
0answers
170 views

Vagrant up chef provision fails on normal up

So I thought I had this all working, but it seems I'm still missing something. When I vagrant destroy --force && vagrant up, everything works just fine. It creates the box and chef ...
1
vote
1answer
52 views

Cannot kitchen init as non-root

I am trying to use test-kitchen, a tool to test chef (etc) cookbooks with virtual machines. However when following the guide and doing kitchen init --driver=kitchen-vagrant, I get the following ...
0
votes
1answer
467 views

Can't use chef-zero with vagrant files

I have a Vagrant (1.7.2) set up with 2 vms. I want to use chef (latest version now 12?) to provision them. I am trying to get one to be a nagios server and the other to be a machine monitored with ...
0
votes
1answer
42 views

Virtualbox Appliance: Maintain same Private IP as used with Vagrant

I have an OVA which I created in conjunction with Vagrant. I want to distribute the OVA, but when people start it up I want to have the same Private IP address assigned by Vagrant. So far I've had ...
0
votes
1answer
172 views

File name too long mount_nfs

I have a FreeBSD Vagrant box that looks like this: # -*- mode: ruby -*- # vi: set ft=ruby : VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = ...
0
votes
0answers
47 views

Chef and sensitive config data between environments

I'll start out by saying I'm pretty new to Chef and certainly have only scraped the surface of what it can do. Have spent hours reading and playing. So far I have successfully written some ...