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

Is it possible to use Docker or Vagrant to provision a physical machine

Currently at my work we use buildroot to provision physical machines with Debian linux. Buildroot compiles a rootfs.cpio.gz file which the machines to be provisioned pick up using PXE, runs a script ...
0
votes
0answers
7 views

Start Vagrant VM with system host boot

I'm currently setting up a few virtual machines through Vagrant using the Vagrant-Parallels provider Plugin. As these machines run on a MacMini which isn't supposed to be up 24/7 I would like to have ...
-4
votes
0answers
27 views

Vagrant, how to install it on Windows amd integrate with Vmware [on hold]

I'm using Vmware Workstation 10.0.x for get up & running CentOS 6.5 VM. This VM has the basics for web development such Apache, MySQL, PHP, Ruby and some others tools that any web developer needs. ...
0
votes
0answers
27 views

Access VM from network

For my PHP-development I have VagrantBox running CentOS. This box however is only accesible from my own computer because it only has a NAT-interface and a Host-Only-network. But when I want to test it ...
0
votes
1answer
47 views

vagrant up fails on windows with box_add: undefined

I've spent a few hours now without achieving any outcome trying to vagrant up a box of mine. It works perfectly on my mac and two of my coworkers mac but when trying to vagrant up that box on my ...
0
votes
1answer
15 views

Using vagrant to isolate my whole environment [closed]

I want to use Vagrant to isolate my whole development environment from my system (OS X 10.9.3), and not just for a specific software project. Is Vagrant a right tool for this task, or there are better ...
2
votes
1answer
78 views

Vagrant's puppet provisioner not reading hiera.yaml backend correctly?

I have a puppet problem that is specific to the way that Vagrant uses the manifests/modules/hiera-config with its puppet provisioner, since a "puppet apply site.pp" works fine in the resultant vagrant ...
0
votes
1answer
52 views

Booting Vagrant Box error/timeout after “aborted state”

One of my Vagrant boxes ended up with an "Aborted" state, apparently I ran out of memory or something, and yeah. Now the box is not booting... properly. Here is what I got: $ vagrant up cloud2 ...
1
vote
1answer
38 views

Vagrant synced_folder syntax for nfs options (trying to disable nfs_export)

I'm trying to disable the nfs_export option in my Vagrantfile, so that Vagrant will not touch my /etc/exports. The Vagrant documentation says: NFS synced folders have a set of options that can be ...
3
votes
1answer
35 views

Pre-populate vagrant synced folder contents

I'm currently building an rather complicated server stack (a ruby on rails app) that I want developers to be able to work on without having to install everything themselves. Therefore I use Vagrant to ...
4
votes
1answer
87 views

Can Vagrant point to a directory of Puppet manifests for execution?

I am using Vagrant to jump start some initial Puppet config and am confused on how to include/run multiple manifests (other than just site.pp) in the puppet execution workflow without making the extra ...
0
votes
1answer
32 views

Vagrant is creating files and folders in my project

Recently I updated Vagrant (v 1.6.3) and I noticed that in the folder of my project there are some new folders and files like: d20140610-11944-1j6n1cz/ d20140610-15421-1pkz3t8/ ...
1
vote
0answers
46 views

Cookbook not found with vagrant, berkshelf and chef-solo

I'm attempting to get a vagrant instance up and running, but when I do vagrant up --provision, it fails with the error: ERROR: Cookbook postgres not found. I'm using vagrant-berkshelf, which ...
1
vote
1answer
103 views

How to configure network on EC2 instance launched by Vagrant?

This is my AWS setup: 1 VPC with: default public subnet, 10.0.0.0/24 1 EC2 micro instance, private 10.0.0.172 and public Elastic IP 1 RDS instance, running MySQL The EC2 instance has network ...
0
votes
0answers
85 views

vagrant fails to bring up additional adapter for centos vm using virtual box provider

this is in continuation of the question asked here about host only adapter on dhcp I upgraded to vagrant 1.6.3 and the updated Vagrantfile to following setting for multiple adapters # add additional ...
-1
votes
1answer
89 views

Install PHP 5.3.X, PHP 5.4.x and PHP 5.5.x in the same environment using Puppet

Anyone already tried to install these three version using Puppet in Ubuntu? I have a VM that is managed by Vagrant and I want to have these three version so I can specify which PHP version I should ...
0
votes
1answer
100 views

adding additional network adapter to use host only network with dhcp in vagrant using virtualbox provider

here's what I am trying to achieve adapter 1 runs on usual NAT add an additional adapter using the vboxnet0 host only network I have created in virtual box, this one uses DHCP server the reason I ...
0
votes
0answers
55 views

UWSGI is not creating my socket

So, i'm getting an error because my .sock file is not being created by uwsgi. I'm also running a VB with vagrant. my uwsgi.ini [uwsgi] master = true pidfile = /tmp/uwsgi-%n.pid workers = 12 ...
1
vote
1answer
50 views

Package a VM built with Vagrant as an OVA appliance

I've created a virtual machine with Vagrant and some provisioning scripts. Now I want to hand out copies of the fully provisioned machine to participants at a workshop. This workshop will be mainly ...
0
votes
1answer
99 views

Timeout when connecting to Vagrant VM via hostname with port forwarding

I am trying to get a Vagrant VM setup that has been distributed to me (so I did not configure it myself). I have installed the VM using vagrant upsuccessfully, but when I try to use a browser to hit ...
3
votes
1answer
165 views

Enable FastCGI on Apache with Puppetlabs/Apache

I'm using Puppetlabs/Apache to configure Apache. In the main puppet file, I call and configure it: class { '::apache': } class { '::apache::mod::fastcgi': } apache::vhost { "${::fqdn} non-ssl": ...
1
vote
1answer
529 views

Repackaged Vagrant (vbox) box will not allow ssh after subsequent imports

I'm experiencing the following. If I download and run a base box (ubuntu/trusty64), make some modifications like installing packages, then shutdown and repackage the box, on subsequent imports it ...
0
votes
1answer
71 views

How to deliver private ssh keys for a virtualbox controlled by vagrant?

By default, Vagrant uses an insecure private key used when logging into the machine with vagrant ssh. Vagrant supports specifying a different private key via private_key_path however I am not clear ...
1
vote
1answer
87 views

Use Ansible to create vagrant box ?

I am new to Ansible and I bit confused if I can better use Vagrant to create VM instances (on EC2 and local virtual boxes) and use Ansible only for provisioning or if I can/should use Ansible to ...
4
votes
1answer
58 views

Is there a streamlined way to export settings from an existing CentOS 5.10 server for local Vagrant provisioning? (Puppet, Chef, shell, or otherwise)

I've recently started the process of learning how to use Vagrant for spinning up a local development environment. (after getting frustrated with the various WAMP stack options) Vagrant is great so ...
0
votes
1answer
169 views

Puppet exec command with variable not executed

I have a very simple Puppet (sub)module that should use Git to clone a repository from a remote location: class wppuppet::git( $location = '/var/www/wp' ) { file { $location: ensure => ...
1
vote
1answer
96 views

vagrant halt hanging while trying to detect guest OS

I'm trying to halt a vagrant vm using 'vagrant halt' and it seems to be hanging up on detecting the guest OS. (vagrant 1.5.1, centos 6.5 vm). Is this a bug in vagrant or something wrong with our base ...
1
vote
1answer
100 views

veewee: build gets stuck during installation of libssl on debian 7.4

I'm new to vagrant and veewee. I'm trying to build a debian 7.4 image but after running the build veewee vbox build 'debian-7.4' the process gets stuck on the installation of libssl because it ...
0
votes
1answer
155 views

httpd service will not start on boot under CentOS 6

I am having trouble configuring a CentOS 6 Vagrant setup to start the Apache service on boot. I have tried using chkconfig and the OS seems to just ignore it. When I run sudo chkconfig --list httpd, ...
1
vote
2answers
342 views

npm install on vagrant virtualbox

Seem to be having A LOT of trouble figuring this one out, but I'm attempting to use vagrant and provision a server that uses node / npm to install dependencies. My setup is: ubuntu 12.04 host (old ...
0
votes
0answers
64 views

Preferred “Chef/Berkshelf/Vagrant” Way to Change Java Versions

On a Linux box, what's the preferred, best-practice way of switching Java versions? For example - let's say that I want to build & test out my app on Java 7, and then Java 6. Here's a few ...
0
votes
0answers
47 views

Rysnc error using Vagrant + Rackspace plugin

Most of the time when I use the do a vagrant up --provider=rackspace I get the following error: ==> default: Waiting for SSH to become available... ==> default: The server is ready! ==> ...
0
votes
0answers
134 views

Unable to install nginx from source in provisioning script

I'm using Vagrant to build a reproducible virtual machine for one of my projects. This virtual machine needs a basic LEMP stack, and I'm using a shell script to provision it after it's created. The ...
1
vote
3answers
3k views

Vagrant Error: Connection timeout. Retrying

I have a server with Ubuntu 12.04, Virtualbox 4.3 and Vagrant 1.5.1. I'm trying to use this box http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210.box however unsucessfully. When I run ...
-1
votes
1answer
65 views

Vagrant muulti-vm mode configure network

Does any one know how to configure multi-vm mode to be able to communicate each VM with others. I want to deploy client-server application and my VMs can't communicate by dns without adding hosts ...
1
vote
2answers
576 views

Ansible not executing host specific playbook in Vagrant multi-machine provisioning

When provisioning with ansible in Vagrant, I am unable to get server/role specific playbooks to run. There is a common playbook run for all hosts, and that is working, but when trying to target a ...
0
votes
3answers
117 views

Changing the mysql bind-address within a script

What would be the best way to change the mysql bind-address in the my.cnf from a shell script? Is there a way using a tool like mysqladmin or should I use sed or should I simply append it to the ...
0
votes
0answers
67 views

Vagrant use host public ip addresses

I want to encapsulate an OpenVPN server with Vagrant. My host machine has 1k public ip addresses and I currently allocate each ip address to a user connecting to it. For example if user xxx connects ...
0
votes
2answers
387 views

“/usr/bin/env: bash: No such file or directory” during puppet exec command

I am setting my first steps into puppet. I am trying to setup ambari. This is my puppet config: exec { "ambari-repo": command => "curl ...
0
votes
0answers
77 views

Identical Vagrant VM's install pip packages differently?

I have a vagrant VM being provisioned via Puppet. I'm testing this on two different Ubuntus, 12.04 and 13.10, both using the "standard" precise32 box. The application I'm testing is a Django ...
0
votes
1answer
71 views

Use a LAN IP for dnsmasq

We have a single iMac in our office running a Vagrant box exposing the public IP of 192.168.1.70. Everyone in the office used to all be able to access sites on this box (which all use ".dev" such as ...
-1
votes
1answer
194 views

Vagrant w/VirtualBox and Multiple Network Interfaces [closed]

What's the right way to configure multiple network interfaces with Vagrant? Here's the simple Vagrant file I'm testing with: . Vagrant.configure("2") do |config| config.vm.provider :virtualbox do ...
0
votes
1answer
122 views

Unable to build_image when using Docker provisioner on vagrant

When I try to use the Docker provisioning in Vagrant config.vm.provision "docker" do |d| d.build_image "/vagrant/app" end I get the error There are errors in the configuration of this machine. ...
4
votes
1answer
932 views

How to set up :datadir: when using Hiera with Puppet and Vagrant

I'd like to know how to set up :datadir: in hiera.yaml for optimal usage with Puppet and Vagrant. Currently I'm using vagrant 1.5.0 with virtualbox 4.2 on Ubuntu 13.10 with an Ubuntu 12.04 guest ...
3
votes
1answer
293 views

How to get decent NFS performance for workloads like git?

I manage a vagrant setup for our developers running OSX to manage VirtualBox systems for development. In order to support inotify inside the linux machine, we eschew the usual method of sharing ...
0
votes
3answers
135 views

SSH aborts with Too many authentication failures

I'm attempting to run this simple provisioning script but I'm encountering errors when running vagrant up and then vagrant provision commands. I read that I needed to create a /etc/ansible/hosts file ...
0
votes
1answer
36 views

creating development environment with a button click

We create development and testing environments manually and its taking lot of manual effort and time now. We want to completely automate that like "click a button to create a development/testing ...
0
votes
1answer
71 views

Tunnel interface inside Virtualbox IP forwarding

I am working on a solution to expose a development stack that resides inside a Virtualbox guest up to the Internet through OpenVPN tunnels. OpenVPN client fires up inside the guest VM and connects ...
1
vote
0answers
95 views

Interactive commands with vagrant ssh. Backspace does not erase character

I have up and running Ubuntu precise32 vagrant machine. Now I have some scripts on this guest machine. Those scripts are interactive and are not part of the provisioning. What I want is to execute ...
1
vote
0answers
116 views

Vagrant bridge to openvpn interface?

Setup: A box running OpenVPN server and few Vagrant virtual machines Problem: I would like to access Vagrant boxes directly from VPN clients as regular machines, and not on only few forwarded ...