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
9 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
10 views

How to change the ssh host in Vagrantfile

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. It all went well before I configured the "public_network" in ...
0
votes
0answers
19 views

vagrant up failing to open archive [closed]

Not quite sure where to start other than I installed Vagrant and VirtualBox. From there I recompiled the VirtualBox Kernel module and it installed successfully, this was necessary due to it not ...
0
votes
0answers
34 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
15 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
36 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
0answers
4 views

Getting Mac Docker client to connect to virtualbox via vagrant [migrated]

I am trying to expose dockers tcp ip to my host docker client. I have the following setup Virtualbox 4.3.26 r98988 vagrant 1.7.2 Mac OSX Mavericks 10.9.5 Centos 6.6 vagrant box running (docker ...
1
vote
0answers
15 views

CentOS vhosts causing issues with Vagrant Share command [migrated]

I have a CentOS 6.4 box running with Virtualbox with a basic Vagrantfile like this: Vagrant.configure("2") do |config| # centos box information config.vm.box = "nrel/CentOS-6.5-x86_64" ...
0
votes
1answer
50 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
111 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
64 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
38 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
21 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
129 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 ...
7
votes
2answers
391 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
20 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
54 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
31 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
168 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
52 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
90 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
239 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
43 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
104 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
137 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
143 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
786 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
217 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
73 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
182 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
142 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
37 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
316 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
37 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
109 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
38 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
115 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
413 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
282 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
154 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
788 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
27 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
322 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 ...
4
votes
1answer
206 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
105 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
378 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
62 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
242 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
172 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
657 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 ...