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
17 views

Virtual Box local network [on hold]

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
0answers
20 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
7 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
0answers
5 views

VirtualBox shared folders returning file not found when loading over HTTP [migrated]

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
0answers
18 views

Configuration-based web application deployment [closed]

I would like to automate the deployment of a web application as close to “one-click” as possible, given a set of predefined configuration files and an OS image. By automating the deployment, I hope ...
0
votes
1answer
21 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
29 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
47 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
70 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
28 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
23 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
58 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
22 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
68 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
189 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
54 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
45 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 ...
0
votes
2answers
72 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
93 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
190 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
102 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
47 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
31 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
373 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
426 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
29 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
88 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
46 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
435 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
69 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 ...
1
vote
1answer
216 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
323 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
56 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
137 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
180 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
167 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
1k 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 ...
0
votes
1answer
288 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
85 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
218 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
159 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
47 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
394 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
40 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
142 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
44 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 ...
0
votes
2answers
155 views

CHMOD to make directory writable by group not working

I'm trying to make the node_modules directory writable by www-group, but chmod isn't working. vagrant (user) is part of the www-data group as seen with the groups command. Why can't I permit ...
0
votes
1answer
613 views

Vagrant hostname resolving for host machine [closed]

I'm setting up a Vagrant-driven workstation environment for a web development company. For every project there will be a custom Vagrantfile with custom Puppet setup etc. using a custom base box. All ...
0
votes
1answer
338 views

Vagrant NFS shares in Fedora 21 blocked by firewalld

My NFS shares created by vagrant are being blocked by firewalld. The host is Fedora 21 and the client Debian 7.7. This is common problem that should be solved by opening the firewall for NFS as seen ...
0
votes
0answers
182 views

Vagrant DNS resolver and proxy

I have a couple of Vagrant boxes using Puppet provisioning and custom made Vagrantfile. They're all fine however with my custom WordPress box I've found serving pages takes about 20-30 secs! After ...