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

3
votes
0answers
1k 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 ...
3
votes
0answers
3k 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 ...
2
votes
0answers
534 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 ...
2
votes
0answers
420 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 ...
2
votes
0answers
2k views

“More than one MPM loaded” when trying to start apache on Vagrant Ubuntu box

Whenever I try sudo apache2ctl start I receive the following message: AH00534: apache2: Configuration error: More than one MPM loaded. Action '-k restart' failed. The Apache error log may have more ...
2
votes
0answers
3k 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 ...
2
votes
0answers
364 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 enable-...
2
votes
0answers
553 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 ports....
2
votes
0answers
222 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, ...
2
votes
0answers
249 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 ...
2
votes
0answers
1k 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 ...
1
vote
0answers
27 views

In Vagrant, how can I use synced folders with multi-machine?

I don't know how Vagrant synced folders are implemented, and the documentation doesn't really say, so I'm not sure if this is something that's workable. I have a web app that I run under Vagrant, and ...
1
vote
0answers
22 views

Forward ssh port to 22 in Vagrant

I have several global IP addresses on my eth0 interface. In my vagrant file I specified on of this IPs as public_network: config.vm.network "public_network", ip: "xxxx.xxxx.xxxx.xxxx" When vagrant ...
1
vote
0answers
29 views

Vagrant, Apache and FastCGI uses huge cpu

I cannot really grasp why it's so slow. Site loads really slow. And vboxheadless hits more than 100% cpu every request. I use 2048 memory and 1 cpu. Here is activity monitor and top: http://imgur....
1
vote
0answers
49 views

Vagrant can mount shared folders upon first launch, but cannot mount if restarted

Being running into very strange issue with vagrant. I don't have any custom folders shared right now. By default, vagrant mounts its containing folder to /vagrant path of the guest. At the first ...
1
vote
0answers
33 views

Can I get vagrant ansible_local to provision locally without specifying the inventory_path?

Currently I end up with a host file that has: [sosd] controller ansible_connection=local Then in my Vagrant config.vm.provision :ansible_local do |ansible| ansible.playbook = '/home/deploy/sosd/...
1
vote
0answers
29 views

How do I set up omnibus builder environment on vagrant centos box using chef?

I need an omnibus builder box for building a python cli package. I would like to use this cookbook, on this vagrantbox I am running this as root since the omnibus installer needs to check something ...
1
vote
0answers
77 views

uWSGI won't start via Upstart, but starts ok from the console

I'm trying to make uWSGI run on boot using Upstart on a Vagrant box. So I've created /etc/init/uwsgi.conf with the following contents: # simple uWSGI script description "uwsgi tiny instance" start ...
1
vote
0answers
68 views

Vagrant box_check_update error

I try to use a Vagrant environment. I have Vagrantfile and every other needs. I use Vagrant 1.4.3 version on Ubuntu 12.04.03. After vagrant up get following errors. vm: * The following settings ...
1
vote
0answers
115 views

PostgreSQL Installation on Vagrant box with symbol linked config file

I have installed PostgreSQL 9.4 on Ubuntu Trusty 64 Vagrant box. The PostgreSQL config file are sitting on my Windows hosts and linked into Vagrant box by Vagrantfile. The PostgreSQL config files ...
1
vote
0answers
300 views

How to set up port forwarding from MAC host to Vagrant Linux VM to Docker containers with Kubernetes?

I am utilizing this guide on 1 VM managed by Vagrant I can access the containers that I start locally inside the VM just fine, but I can't seem to access them from the host machine. I have kubernetes ...
1
vote
0answers
168 views

How to setup vagrant with nginx/passenger/mysql/rvm?

Can someone please rate or help with my Vagrantfile and Chef-solo? It's an ubuntu-server 14.04LTS local VM with rvm, ruby 2.2, nginx, passenger, mysql... pretty common. All I want is to be able to ...
1
vote
0answers
42 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. ...
1
vote
0answers
103 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 ...
1
vote
0answers
330 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
0answers
969 views

Deploy packer images on bare metal server?

How can I match my dev and production bare metal box? The hosting provider does not allow or have a process to install custom images and only provides a selection from all the latest popular ...
1
vote
0answers
307 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 ...
1
vote
0answers
326 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 ...
1
vote
0answers
348 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
490 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
26 views

CentOS 6.7 can not install php-pecl-memcached module

I have a Vagrant box using CentOS 6.7 with PHP 5.6 and Apache 2.4. I have installed the memcached server, checked if it runs echo stats | nc localhost 11211 but when trying to install the Memcached ...
0
votes
0answers
8 views

Vagrant hangs at first Remote connection disconnect. Retrying

I have searched and found a bunch of questions regarding multiples retries of the Remote connection by Vagrant. 1, 2, 3. But my problem seems to be totally different and I can't find any reference to ...
0
votes
0answers
10 views

Different memory configuration for Vagrant machine instances

I am using VirtualBox as my vagrant provider. I need to launch a few boxes and the memory allocation will need to vary. Is there a way to specify in a multi-machine config file so that there is a per-...
0
votes
0answers
17 views

VBOX_E_FILE_ERROR during vagrant destroy

(Interesting that I got a pop-up message relating to virtualbox being off topic. After reading: In what circumstances should VirtualBox questions be on topic? I decided to post my question here.) ...
0
votes
0answers
23 views

Chef and MySql: Error setting data_dir

I am trying to setup Mysql server 5.6 on Ubuntu 14.04 using Chef 12, testing using Vagrant It all goes fine till i try to set the data_dir to a custom value (It was working fine with the default ...
0
votes
0answers
11 views

cannot login to mysql root from vagrant, but can from sudo

I just reinstall mysql, which is now running 5.7.9. I'm using vagrant. I try to login to mysql with mysql -u root -proot and I get: ERROR 1698 (28000): Access denied for user 'root'@'localhost' I ...
0
votes
0answers
15 views

Automatically booting tomcat server with vagrant up

I'm toying with setting up a vagrant box of our tomcat-based app so that we have safe, pre-configured, re-usable environment for other employees to toy with. I need to boot the tomcat server after ...
0
votes
0answers
30 views

NPM Permission Denied Exit Status 126

I am running a node process inside of vagrant and am getting a ELIFECYCLE (Permission denied....exit status 126) error when I run the command: NODE_ENV=production ./node_modules/babel-cli/bin/babel-...
0
votes
0answers
44 views

Vagrant Scotch Box Change Webroot

Recently I've been experimenting with vagrant and I want to match the development environment as closely as possible with the production environment. I want to change the document root to my home ...
0
votes
0answers
68 views

Jenkins 2.x disable initial admin setup

we're using Jenkins as a cron server adding/starting crons via api. We created a vagrant box installing the jenkins. Since version 2.0 jenkins require to create an admin account (link) before disable ...
0
votes
0answers
29 views

Git GUI on Windows not seeing .git folder from Samba share

THE SCENARIO I am using Vagrant,Windows environment and running Ubuntu inside the virtual box for my development work. I have setup an instance of Samba server and I run the I access the virtual ...
0
votes
0answers
67 views

Elastic not accessable when using nginx as proxy on vagrant using hostname

I have trouble to get access to an elasticsearch instance with the ElasticHQ Plugin. I'm using a self created vagrant box based on Debian 8.3. I've added the nginx from dotdeb and the latest version ...
0
votes
0answers
23 views

Is it possible to install puppet recipe on an existing system manually?

I have a Vagrant/Puppet Box configuration installing ubuntu, PHP, nginx, redis, etc ... I would like to apply same software on my current ubuntu vm with my working enviroment. I could Install the ...
0
votes
0answers
49 views

Forwarding virtualbox VM's console output to host's console when starting with vagrant

I'm launching virtual machine with vagrant under virtual box and it silently dies: ==> appliance: Booting VM... ==> appliance: Waiting for machine to boot. This may take a few minutes... The ...
0
votes
0answers
41 views

Errors running Chef to provision Vagrant

I'm running Chefdk, chef-provision, and chef-provision-vagrant, and I've set up a recipe to create the VM, and another to provision. I'd like to point out that I am new to Chef (I'm more of a Puppet ...
0
votes
0answers
90 views

Why do I get ERROR: Failed to run install_amazon_linux_ami_git_deps() when provisioning via salt from Vagrant?

I am unable to provision an Amazon ec2 linux instance (using the Amazon AMI) via salt from Vagrant. I get this error: The following SSH command responded with a non-zero exit status. Vagrant assumes ...
0
votes
0answers
165 views

SteamCMD + Docker + Vagrant = “Login Failure: No Connection”

i`m playing around with the SteamCMD in Docker with Vagrant on a Windows Host. Building an Image works but, i can`t login to STEAM. I'm getting following Message, if i want to Login: Steam>login ...
0
votes
0answers
79 views

apache2: HTTP 200, browser request: pending

I have php webpage running at apache (v2.4.7). When I refresh page in browser, 1-2 random requests are sometimes pending at browser. However when I check apache access.log requested files has HTTP ...
0
votes
0answers
380 views

Can't connect to the data port with FTP server running in Vagrant (passive mode)

I want to connect to Vagrant via FTP and the data connection is failing. I can actually connect and login, but when trying to enter passive mode and list the remote directory, the DATA connection can'...