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

1
vote
0answers
14 views

where to download vagrant boxes

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
31 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 ...
0
votes
0answers
3 views

Vagrant GUI non-alphanumeric key bindings incorrect [migrated]

I am starting to use Vagrant to stand up a development environment(want to ensure all teammates are developing on same environment) and seeing as it will be a development environment, I need it to ...
1
vote
1answer
36 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
1answer
47 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 ...
1
vote
0answers
14 views

Vagrant NFS share doesn't show updated file if size doesn't change on PhpStorm [migrated]

I searched in many place but I don't find an answer to my question. Same question has already posted here : Vagrant NFS share doesn't show updated file if size doesn't change But the solution ...
0
votes
0answers
19 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
24 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
65 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 ...
0
votes
0answers
2 views

Vagrant virtual machine automatically halting when laptop is put to sleep [migrated]

I'm using a vagrant box (running in VirtualBox) I got from a third party and it always automatically shuts down when I put my MacBook Pro to sleep. When I wake up my laptop I need to run vagrant up to ...
0
votes
0answers
29 views

How Can I Create New Server Instances, Pre Configured With ISPConfig?

It would be very helpful if I could create a new Droplet on Digital Ocean (server instance) for each new client I get, prebuilt with a LAMP stack and ISPConfig. Right now, I have to spin the new ...
1
vote
0answers
93 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
246 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
119 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
47 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
0answers
134 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
81 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
29 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
128 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
28 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
71 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
34 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
79 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
182 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
191 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
45 views

How to use puppet repository modules (example :Archive) in manifest file

I am trying to install eclipse in vagrant managed virtual machine using Puppet provisioning. I am copying part my eclipse_download.pp file where puppet is throwing an error **Invalid resource type ...
0
votes
0answers
119 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 ...
0
votes
1answer
581 views

Vagrant, nginx 404 - fastcgi sent in stderr unable to open primary script

Was googleing a lot of and didn't find solution for this. Have found few accepted answers here on stackoverflow, but they didn't helped me. I am using vagrant for development, or at least trying to ...
0
votes
0answers
21 views

Convenient way to restart server inside vagrant

We have a webserver, that needs nginx and other configurations, so for development we use vagrant. vagrant ssh I want to easily [re]start it, so I use single line ssh commands. vagrant ssh -c "" ...
2
votes
2answers
182 views

Why aren't my puppet variables getting assigned by Vagrant's puppet.facter options?

Given that the following is config'd in my Vagrantfile: puppet.facter = { 'variableOne' => 'one', 'variableTwo' => 'two' } ... and the following is in the manifest: notify{ "Got here ...
3
votes
1answer
123 views

gunicorn not fully reloading after an HUP signal

I'm trying to get a working supervisor/gunicorn/django setup on vagrant. I am using python-watchdog to try and restart gunicorn when code changes happen. I am using the following supervisor ...
0
votes
0answers
76 views

How to change the execution time of the my.ini file using Chef

I'm attempting to get an existing Drupal site set up using Vagrant Drupal Development but have come across a few problems. My first is that I cannot seem to connect to the database to import my SQL ...
-1
votes
1answer
282 views

Difficulty Installing and SSHing to Vagrant Box [closed]

I am new to Vagrant and have not been able to get it to work properly. I installed Vagrant without a problem and have Virtual Box installed and open. When I create a box (vagrant init), it seems to ...
0
votes
1answer
47 views

Vagrant duplicate IP

I'm trying to configure static IPs on 2 vagrant boxes so they can communicate with each other. With the following config, the "db" node comes up with an eth1 and eth2 with 192.168.50.4 and ...
0
votes
0answers
174 views

Gem installation on vanilla ubuntu fails - EACCESS

I'm trying to install the Middleman gem on a completely generic installation of Ubuntu Trusty (i386). Here's my console input/output: vagrant@vagrant-ubuntu-trusty-32:~/rj$ which ruby /usr/bin/ruby ...
0
votes
0answers
137 views

ConEmu, Powershell, & ANSI Colors

I've just found ConEmu and am unclear on how to make ANSI colors show in a powershell session. In particular, I'm wanting to see the colored output of a vagrant up while provisioning a CentOS vm. Can ...
0
votes
0answers
372 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 ...
0
votes
1answer
169 views

How can I specify an environment for salt's top.sls file from Vagrant?

I want to use Vagrant to deploy a range of boxes with salt. I've looked through all the available Vagrant salt options available in salty-vagrant (now built in) and I can't see any that would let me ...
0
votes
1answer
221 views

MariaDB 10.0 / Docker / Vagrant - Sub-process /usr/bin/dpkg returned an error code

MariaDB 10.0 does not install properly when using Vagrant, Docker and other virtualised services. $ DEBIAN_FRONTEND=noninteractive apt-get install -y mariadb-galera-server Setting up ...
0
votes
1answer
103 views

Chef-solo: how can I install a package mailutils in ubuntu?

I want to install the command line mail in my ubuntu box in Virtual box. The command line will be sudo apt-get install mailutils. What is the best to achieve the same via chef-solo? I don't think ...
1
vote
1answer
80 views

Specifying config.vm.synced_folder at run time

I'd like to give the user the ability to specify the path to the folder they want to share with the Vagrant box when they provision the machine, eg via a command prompt entry: config.vm.synced_folder ...
0
votes
1answer
149 views

Apache + mod_ssl (on Vagrant) HTTP connection works fine, HTTPS connection times out

Introduction Hi guys, this is quite a strange one that I've been battling with for a few hours now. I have a CentOS Vagrant box with a network adapter attached to my NAT (as opposed to host only). I ...
0
votes
2answers
231 views

Nginx http prefixes in upstream server

I'm trying to use nginx to proxy pass to two docker containers. Here is my upstream conf file: upstream api_servers { server http://192.168.49.4:49155; server http://192.168.49.4:49156; } This ...
-1
votes
1answer
612 views

How to make sudo -u not require password [closed]

I'm using ansible with vagrant and ansible is trying to sudo as postgres user to run some postgres commands. Ansible running as vagrant user seems to run something like sudo -u postgres psql This ...
0
votes
1answer
26 views

how to configuring vagrant to allow some specific IP to be available on a windows machine?

I have Vagrant installed on my windows machine. I am using putty to ssh to the ubuntu machine. Lets say that I need some specific service (let's say a graphite for stats) which should be reached with ...
1
vote
2answers
353 views

SSH tunnel (port forwarding) slow down a lot my mysql queries

I'm currently testing some configurations with vagrant (virtual box) to connect 2 servers (VM currently) together throw an SSH tunnel. The goal being to securely connect my web app to the database. ...
1
vote
1answer
473 views

Vagrant private IP not found after network change

I've got a simple Vagrant Ubuntu virtual machine setup using Virtual Box, running on a Mac. I'm using private networking, configured with a static private IP like so: Vagrant.configure("2") do ...
0
votes
2answers
560 views

Unable to ssh to a vagrant started ec2 ubuntu instance

After I ran vagrant up --provider=aws, I could see an ec2 instance being created and became up and running. However it will invariably stuck at this point ==> default: Waiting for SSH to become ...
-1
votes
1answer
120 views

Chef freezes on vagrant centos box

I have a centos-6.5 box. Strangely it freezes when I try to request its provision by chef. Here's a sample of what goes when I try to vagrant provision --debug it [2014-10-10T20:33:33+00:00] INFO: ...
0
votes
0answers
33 views

Network error when running multiple Virtual Boxes

I have a Ubuntu 14.04 physical desktop that's running some Virtual Box instances (also Ubuntu) through Vagrant. The Virtual Box instances are configured to use static ip and with "natdnshostresolver1" ...