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

5
votes
1answer
861 views

Virtualbox: How to connect to the display when launched via vagrant?

I've used vagrant to set up ubuntu 12.10. How can I actually connect to the graphical desktop? There doesn't seem to be a way in the Virtualbox manager. It shows a preview but the 'show' icon is ...
2
votes
1answer
102 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 ...
2
votes
1answer
75 views

Display GUI on single machine in Vagrant Cluster

I am launching a cluster of VM's using Vagrant. I want to have only a single machine display it's GUI. The only means I've found to turn on the GUI is with config.vm.provider "virtualbox" do |v| ...
2
votes
1answer
1k views

Vagrant with VMware ESXi Provider

I am attempting to work with Vagrant and the vagrant-vsphere plugin to deploy machines to my VMware ESXi server. Has anyone had any luck in getting this to work? I realize that vagrant-vsphere is ...
2
votes
1answer
118 views

Vagrant: Reload the vagrant from a chef recipe?

In my ubuntu vagrant I've got a recipe that does apt-get update then apt-get upgrade -y. I've got a final recipe that reboots the machine if a restart is required. Since I'm using NFS to share my ...
1
vote
1answer
112 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 ...
1
vote
1answer
100 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
136 views

Problems with Exec in Puppet

i want to to run the following command with puppet: sb2-init rasp /home/ubuntu/raspberry_pi_development/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin/arm-linux-gnueabihf-gcc In ...
1
vote
1answer
204 views

Vagrant guest's /var/www freezes when doing config.vm.synced

I reviewed all synced_folder configuration @ Vagrant's website... Host OS: Windows 7 Guest OS: Ubuntu this is my Vagrantfile config: # -*- mode: ruby -*- # vi: set ft=ruby : # Vagrantfile ...
1
vote
1answer
209 views

SSL connection to Thin through vagrant

I'm running a Rails app that forces SSL and uses HTTP basic authentication inside of a vagrant VM. If I try to make a curl request to the app from my host machine I get curl -k --verbose ...
1
vote
1answer
605 views

How to restore Linode to Vagrant VM?

I'm trying to set up a Linux development environment so I can safely make changes to my website without breaking the live site. Linode hosts my live site. A simple solution would be to host my ...
1
vote
1answer
123 views

Execute virtualbox in LXC ? /dev/vboxnetctl: No such file or directory

I have Jenkins installed in a LXC container. In one Jenkins job, I want to test my project deployment with vagrant + Virtualbox. So, I try to execute VirtualBox in my LXC container. First ...
1
vote
1answer
699 views

How to install APC on a vagrant box running Ubuntu 12.04 with PHP 5.4?

In my "Vagrant" file I have this line: chef.add_recipe("php::module_apc") But it gives me this error: [2013-01-11T22:14:53+00:00] INFO: Processing package[php-apc] action install (php::module_apc ...
1
vote
1answer
247 views

Vagrant up doesn't load chef configs and doesn't keep an error log

I'm trying to set up a vagrant box and I'm running with all sort of troubles. Right now I'm getting a strange error message where it states there's a stack trace file with more info, but that file is ...
0
votes
1answer
103 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 ...
0
votes
1answer
161 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, ...
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 ...
0
votes
1answer
109 views

Start a sub provision in Salt

I need to have two project. One is to set up the server. The other is the web app. I'm trying to use SaltStack to do this via Vagrant. What I want to happen is that after the server is ...
0
votes
1answer
220 views

use ssh-agent to connect to vagrant-lxc machines

I'd like to connect to a vagrant-lxc machine using a ssh-key which is already loaded. To make it a little bit more clear, here's my setup: Load ssh-key in Windows via PuTTy connect to vagrant host ...
2
votes
0answers
438 views

virtualbox to qemu but results in no bootable device qemu

I use vagrant to create my development vm. I exported the vmdk to vdi, and then convert the vdi to img. cd virtualbox_dir/test_vm VBoxManage clonehd test_vm.vmdk raw.vdi 0% ..... 100% qemu-img ...
2
votes
0answers
53 views

Trying chef cookbooks before uploading

We're using Vagrant & Chef to provision the staging VM for our app. Once I have a working cookbook, I upload it to chef-server and Jenkins hook ensures the staging env gets updated. However, ...
1
vote
0answers
54 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
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 ...
1
vote
0answers
78 views

AWS Dev-to-Production Build Process

I'm a developer, so not nearly as experienced as I would like to be with server administration. Essentially, I am trying to figure out how to create a base image (AMI) that can be used in development, ...
1
vote
0answers
101 views

Vagrant and cups port forwarding not working. Not accessible

I'm working with vagrant and I'm trying to use it as a printing server. I installed cups. Internally everything works just fine. I can even make a quick curl to my localhost:631 (cups port inside my ...
1
vote
0answers
117 views

How to install Gitlab in a VM on a production server?

I have a production server running Ubuntu 12.04 and I would like to install on it a VM with Gitlab (using Vagrant and Virtualbox). Let's say that the address to access Gitlab is gitlab.mydomain.com . ...
1
vote
0answers
661 views

vagrant apache not accessible from host

I am runing a virtual box from vagrant and I am trying to access web pages that are served by guest apache server. When I execute wget http://dev.test.com/index.html on guest everything works fine ...
1
vote
0answers
1k views

Vagrant reporting VirtualBox guest additions out of date

Fairly new to Vagrant, so bear with me if I don't understand the process. I downloaded a CentOS box off http://www.vagrantbox.es/ Started it up running VirtualBox 4.2.4 and got this message: ...
1
vote
0answers
250 views

virtualbox instances dedicated-server with custom dnsmasq

I have dedicated server where I planned to run virtualbox virtual machines. Since the VMs are managed with vagrant/chef I may end up with many different ones. I thought it would be a great idea to ...
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
0answers
89 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 ...
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 ...
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
48 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
142 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 ...
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
0answers
78 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
0answers
114 views

Chef run process terminated by signal 9

With chef.log_level set to debug, my Vagrant provisioning is stopping with this as the only indicator. If this is due to resources, how can I dig out the culprit that killed my process from the Linux ...
0
votes
0answers
59 views

how should I change my production environment (VPS) when using vagrant

I currently have a debian VPS hosted in a "traditional" ISP and a php application running on it. Then I have a couple of virtualbox vms running on my workstation for testing and I rely on a mix of deb ...
0
votes
0answers
39 views

How to get Amazon AMI?

I'm trying to build a vagrant setup for development that mirrors the CentOS available on the AWS Marketplace but cannot figure out how to get the image. Are these not available for download locally in ...
0
votes
0answers
52 views

Create puppet manifests file with mariaDb

I want to customize vagrant with puppet and install there php5, apache and mariaDb. I try to use this site to generate suitable manifests file but there absent mariaDb. Can someone suggest where I can ...
0
votes
0answers
190 views

vagrant ssh always works, ssh using cygwin only works on some boxes

On Windows I like to use cygwin to access my Vagrant box via ssh. This works: vagrant init <an existing base box>, vagrant up, vagrant ssh. Instead of vagrant ssh I can use cygwin to ssh into ...
0
votes
0answers
236 views

Puppet Operation not permitted on owner/group change

I'm running Ubuntu 12.04 with vboxheadless 4.2.10 and vagrant 1.2.7 to provision instances on a server. When I run vagrant up I get the following errors: err: ...
0
votes
0answers
44 views

Truncated content with Apache on Vagrant VM

I'm using Vagrant to run a CentOS VM in order to try and achieve local development parity with our live servers. I've symlinked /var/www/html with the /vagrant shared directory and am forwarding port ...
0
votes
0answers
93 views

Using Hiera in Puppet, doesn't include Classes

My current folder structure looks like this: - manifests --hiera.yaml --site.pp --hieradata ---*.json --classes ---*.pp -modules --* Currently, hiera finds the configuration backends but doesn't ...
0
votes
0answers
172 views

Vagrant storage and disk space

I've got two harddrives and very little space on my primary harddrive, so I was hoping to install all my vagrant instances inside my large secondary harddrive. I changed the VAGRANT_HOME environmental ...
0
votes
0answers
659 views

vagrant - Could not find chef

New ubuntu 10.04 vagrant setup, and trying to run vagrant up $ vagrant up [default] VM already created. Booting if it's not already running... [default] Clearing any previously set forwarded ...
0
votes
0answers
1k views

Vagrant Getting Started gives getaddrinfo: Temporary failure in name resolution

I am running a fresh install of Linux Mint Nadia (14). I followed the steps to set up Vagrant here: Getting Started, but on the Provisioning page, when I do vagrant up I get the following output: ...