Vagrant is a tool for building and distributing virtualized development environments.

learn more… | top users | synonyms

0
votes
0answers
8 views

How to provision another vagrant machine?

I have followed the 'getting start' section of vagrant documentation and successfully brought up a virtual box machine using the hashicorp/precise32 box image vagrant init hashicorp/precise32 vagrant ...
2
votes
3answers
872 views

How to authenticate to a VM using Vagrant up?

Authentication failure during Vagrant Up, while vagrant ssh and ssh vagrant@localhost -p2222 works I would like to execute a shell script using Vagrant at boot. Vagrant is unable to Authenticate, ...
0
votes
0answers
14 views

Can't access vagrant forwarded port from host

I can't get access to vagrant forwarded port from host (windows 8.1). The vagrant box is "hashicorp/precise64". I have forwarded port by config.vm.network "forwarded_port", guest: 8080, host: 8080 in ...
0
votes
1answer
174 views

PuPHPet, Vagrant and SSH - SSH Connection Timeout

I built a new CentOS 6.5 vagrant box and after provisioning, the SSH connection keeps timing out. I've attempted the steps in Vagrant ssh fails with VirtualBox but I receive errors (see below). I ...
0
votes
1answer
749 views

Vagrant: X Window System access possible?

Besides SSH access, is it also possible to use Vagrant to launch a proper session running the X Window System and a window manager such as Unity so that the graphical interface is also available? ...
0
votes
1answer
30 views

Vagrant shell provision command not found

I am using vagrant 1.6.2 and using it with an ubuntu 14.04 box. When I do vagrant provision it runs an .sh script. #!/usr/bin/env bash export DEBIAN_FRONTEND=noninteractive apt-get update -qq ...
27
votes
4answers
11k views

Why should I use Vagrant instead of just Virtualbox?

I've been using Virtualbox for many years to create a development environment. A lot of my colleagues are talking about Vagrant and many people seem very excited about it but I just can't seem to ...
0
votes
2answers
73 views

Vagrant up builds suddenly new box and doesn't recognize old one

We are using vagrant and puppet for setting up our test environments, this works reasonably. But sometimes there is a strange quirk. After someone has built a new box and used it for some time, a ...
0
votes
1answer
92 views

Vagrant (docker provider) looks for local docker in $PATH even if vagrantfile is present

I'm using a linux desktop with an 3.2 kernel (Ubuntu 12.04) and would like to test out using vagrants docker provider/provisioning. So I make a Vagrantfile in root: VAGRANTFILE_API_VERSION = "2" ...
0
votes
2answers
944 views

How to setup Vagrant Windows Server machine with SQL Server on it

Can anyone explain (or give a link) how to setup MS Windows Server VM using Vagrant on Linux (Arch Linux)? I was searching in Google but only think that I found are instructions how to setup Vagrant ...
0
votes
0answers
84 views

FreeBSD with Vagrant - don't know how to check guest additions version

On Mac OS X 10.9.3 Picked a box from the VagrantCloud Init the vagrant box $ vagrant init chef/freebsd-9.2-i386 A `Vagrantfile` has been placed in this directory. You are now ready to `vagrant up` ...
0
votes
0answers
22 views

Idiomatic way to read .env variables in Ansible?

I'm provisioning a Vagrant box with Ansible, and using Benno Joy's MySQL role to setup MySQL (including creating a database and users.) The database name and credentials are stored in a .env file in ...
0
votes
0answers
29 views

Vagrant keeps the virtual machines on after destroying them

Vagrant keeps the virtual machines on after "destroying" them and I cannot create new ones! Every time I destroy a machine, I get the machine removed from VirtualBox. When I execute ps -axww | grep -i ...
1
vote
0answers
28 views

Why is connection hanging on 80 or 443?

So I'm using Chef and Vagrant to provision a LAMP stack on a box which I have done before to great success, when along comes this problem. Details as follows: So netstat says we are good tcp ...
2
votes
1answer
123 views

Is it possible to disable default /vagrant synced folder?

According to source code - it's not, but what if I'm wrong? So the final question: is it possible to run a vagrant VM (virtualbox-driven) without /vagrant synced folder?
3
votes
2answers
348 views

Python2.7 yum module

I have a virtual machine running centos 5.8 and I just installed python2.7 because I was having some issues with import simplejson as json. After installing python2.7 and running ansible roles I have ...
1
vote
1answer
371 views

Need to do Bridged Adapter only in Vagrant, no NAT

So I'm having an issues with a vagrant setup of 'hashicorp/precise64' on my MAC book. First, my config: VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| ...
0
votes
1answer
43 views

Can't Access My VM Online

I've looked through another few questions but none seem to quite fit mine. I've got an Ubuntu 32 bit system running off of vagrant. It has a public interface (eth1) and a nat interface (eth0). The ...
0
votes
0answers
143 views

When I try to access a SMB mounted folder from inside a Vagrant CentOS Virtual box on a Windows 8.1 system, my shell locks up

I'm running Oracle VirtualBox 4.3.10 on Windows 8.1 and inside I'm running CentOS 6.5. I have a /windows mounted on my Windows machine through SMB. Normally I use the /vagrant vboxfs file system, but ...
0
votes
1answer
385 views

Vagrant box URL for JSON metadata file

In my Vagrantfile, I can specify the URL of a box: config.vm.box_url = "http://example.com/my-box.pkg" According to the more recent documentation, I should be able to create a JSON file that ...
0
votes
1answer
44 views

Automatically launching PuTTY with vagrant ssh

I run Vagrant on Windows and use PuTTY to connect to my VMs. This works fine, and I have saved a profile within PuTTY to connect to my VMs. Sometimes, I run 3 or 4 Vagrant boxes and therefore I have ...
0
votes
0answers
37 views

Specific command not recognized in only one shell

I'm running Windows7 as OS as my development machine. It has various Shells: cmd Powershell Mysysgit GNU Bash <-- this is the one not working PuppetLabs Shell Nodejs Shell PHPStorm built in ...
0
votes
1answer
22 views

How do you handle patch versions with puppet?

We use vagrant with puppet. Now there is a question about setting the version of different applications. How specific do you ensure versions with puppet? For example mysql: Do you ensure to have ...
1
vote
0answers
39 views

VirtualBox mounted with Vagrant reach maximum diskspace

Today my Windows build machine reached its disk space limit. It turned out that I had more than 400GB in the folder C:\Windows\System32\config\systemprofile\VirtualBox VMs During the build process, ...
0
votes
2answers
225 views

VM refuses key on Windows

My Vagrant VM is up and running, but if i check netstat, it is just ESTABLISHED but not LISTENING. TCP 192.168.56.1:139 0.0.0.0:0 LISTENING TCP 192.168.56.1:50973 ...
0
votes
0answers
126 views

why can't I access to mysql server from the vagrant virtual machine hosted on the host?

I am using vagrant and configure my VM to use config.vm.network "public_network". So, after I start up my VM, it shows on vagrant console that the VM has two adapters, one being nat and the other ...
0
votes
1answer
189 views

Passing EC2-style user data to a virtualbox/vagrant VM

I'm trying to set up a clusterman/galaxy VM in VirtualBox using Vagrant and Fabric (through cloudbiolinux), and a critical step is to pass "user data" parameters to the VM. It's unclear (to me, at ...
1
vote
1answer
35 views

Should a vagrant project be its own repo

So I've been working with Vagrant and I find it to be excellent but I'm wondering what the best or most common use of it is I imagine that there to be two ways to use it: The first would be to create ...
3
votes
1answer
70 views

Assistance setting up an efficient vagrant system

first time on superuser; I'm a novice trying to move from humble local wamp development to a more professional and productive vagrant/linux environment At the moment I have a basic vagrant file which ...
2
votes
2answers
183 views

Dev environment in virtual machine - edit source files

I have a mac and until now I've installed my dev environment directly on the host OS. I would like to give a shot to virtualized dev environment. I don't have the time to learn how to setup a ...
0
votes
1answer
57 views

How to ensure version 5.5.* for mysql with puppet?

How can i ensure that the latest patch version of 5.5 will be installed by the yum installer under CentOS? class { '::mysql::server': package_ensure => '5.5.*' }
0
votes
2answers
126 views

How to combine ssh agent forwarding and tunneling?

I'm trying to Vagrant-ify a project in order to simplify dependency setup for my users. One of the dependencies is an SSH tunnel, from port A on host B to port C, using ssh's -L option. I can ...
1
vote
0answers
135 views

How does licensing work with Vagrant Windows boxes?

Can a single Windows license be shared between a team (akin to installing on a physical or virtual server) for hosting Vagrant boxes? The Vagrant docs don't seem to address this issue and all the ...
3
votes
1answer
347 views

How to use ipv6 with Vagrant and VirtualBox?

I have a Vagrant setup running Ubuntu in VirtualBox. I'm trying to create a public virtual network interface that I can access from the host. I have had no problem doing this with ipv4. Using ipv6 I ...
1
vote
2answers
1k views

How to git clone private repos within Vagrant VM, using host's SSH keys?

I'm able to use PuppetLabs vcsrepo to clone public git repos, but I'd like to also be able to clone private repos, using the host's SSH keys. What would the configuration look like for Vagrantfile ...
0
votes
2answers
425 views

Vagrant provision script: echo “source /root/.venvburrito/startup.sh” >> ~/.profile fails

I'm running my vagrant provisioning with a bootstrap.sh script. The script runs fine except for one line: echo "source /root/.venvburrito/startup.sh" >> ~/.profile This line fails. I don't ...
2
votes
1answer
249 views

Created box with vagrant as root, want to run as normal user

I ran vagrant init/up as root initially with one of my boxes, however, all of my other boxes are owned by a normal user, so every time I want to use the box as a regular user, I have to sudo and then ...
0
votes
1answer
488 views

bower package installation issues with git / https

Here is my OS: (But installed in my laptop using VM - Virtualbox via vagrant) Distributor ID: Ubuntu Description: Ubuntu 12.04.4 LTS Release: 12.04 Codename: precise The problem I am facing is that ...
0
votes
1answer
232 views

Working with Virtualbox and Vagrant offline

I can entirely accept that this question is terrible.. However, I'm looking for advice on where to even start. I'm using Vagrant and Virtualbox through the help of puphpet.com on a Macbook air. As ...
0
votes
1answer
754 views

Getting node.js and grunt to run on Vagrant box (ubuntu-precise12042-x64-vbox43)

I am having trouble understanding how I would get node.js, Grunt and NPM to run on my Vagrant box. I am using the ubuntu-precise12042-x64-vbox43 and provisioning it through puppet. I am just getting ...
1
vote
1answer
222 views

Error with installing Drush on via Ansible

When installing Drush, with the following task action: command pear install drush/drush creates=/usr/bin/drush tags: drush I get the dollowing error: TASK: [Drush | Install drush] ...
0
votes
0answers
49 views

Error with installing DotCloud via Vagrant & Ansible Package prerequisites for node.js

This ansible task: name: Dotcloud | Install dotcloud cli action: command pip install dotcloud creates=/usr/local/bin/dotcloud tags: dotcloud Gives me the following error: ...
0
votes
1answer
152 views

Mysql error in Ansible task

Hello I am running Ansible with Vagrant. But with one of of my Mysql tasks I get the following error TASK: [MySQL | Delete anonymous MySQL server user for example.com] **** fatal: [default] => ...
2
votes
4answers
3k views

Can't ping to vagrant box

I'm trying to create a Vagrant base box following the 2 resources here: http://docs-v1.vagrantup.com/v1/docs/base_boxes.html ...
0
votes
1answer
42 views

Trouble running `emacs --eval` from Puppet

I want to automate installing Emacs packages with Cask, Puppet, and Vagrant. Source https://github.com/mcandre/mcandre-ubuntu Steps to reproduce I can do this manually in Emacs on my Mac: $ emacs ...
0
votes
0answers
14 views

Trouble installing rspec gem

My Vagrant project requires both the rspec and cucumber gems. Strangely, first time setup with vagrant up installs cucumber, but not rspec. Manually reprovisioning with vagrant provision temporarily ...
1
vote
1answer
183 views

node supervisor incredibly slow on vagrant box - tips on how to debug?

I'm running a vagrant box with a Node app on it, on OSX. My problem is that running either grunt or supervisor to start the app is incredibly slow: it takes around 60 seconds to start the app, and 60 ...
1
vote
1answer
273 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 ...
0
votes
1answer
1k views

Run script on host machine during vagrant up

I'd like to run a bash script on the host machine when before vagrant provisions the server. I can't quite figure out the best method of doing this. What would be the best method of achieving this?
0
votes
1answer
798 views

How to exit SSH of vagrant in terminal

Following the README in this repository, I am supposed to secure shell my way into a virtual machine I've created, but once I've done so, how do I get out? Here are the instructions: $ git clone ...