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

learn more… | top users | synonyms

0
votes
0answers
5 views

Export Vagrant VM with all it's synced folders

Let's saying I'm working on a vagrant VM named foo and it sits on my host machine at ~/foo. In my scenario, foo uses VirtualBox as the provider and is using synced folders to configure and provide ...
0
votes
0answers
4 views

vagrant mount existing folder from host

I have a folder on my guest machine that I want to keep in sync with my host machine. If I try to sync that as a shared folder, the mount overrides the existing contents of the folder (as expected) ...
0
votes
1answer
69 views

How to avoid CRITICAL_STRUCTURE_CORRUPTION errors with VirtualBox inside VMWare

I have the same setup as described here: http://stackoverflow.com/questions/17175696/running-vagrant-inside-vmware-vm Now I'm frequently getting BSOD with a CRITICAL_STRUCTURE_CORRUPTION error and ...
2
votes
2answers
1k 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
2answers
25 views

CygWin rSync can't access file folder on Windows 7 with Vagrant

Facts- Machine is connected to domain User is a domain user Windows 7 running Cygwin with SSH / Rsync set up multiple times Running the rsync command from Cygwin finds the directory "c:\code" just ...
0
votes
0answers
7 views

Vagrant Reload Changing IP Address?

This is using Vagrant 1.6.3 & VirtualBox 4.3.14 on CentOS 6.5. I need to find out why a "vagrant reload" is changing eth0's address. My vagrant file is: Vagrant.configure("2") do |config| ...
1
vote
3answers
674 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
0answers
22 views

Wireless Network card Disconnection while running 4+ VirtualBox instances(bridged)

I am running several VMs with VirtualBox using Vagrant to configure and control my test env. Host box is Linux Ubuntu 14.04. I am using a WiFi connection to a Cisco WAP321 and I have the VM boxes ...
1
vote
0answers
63 views

Can't get private GitHub repos to work with Vagrant/Puppet on Windows

I have a project and we use Vagrant for our development env. On Mac/Unix the provisioning works perfectly except in Windows, the problem is that forwarding agent doesn't work on windows and therefore, ...
-1
votes
1answer
41 views

Virtualize a server into a vm image for testing

I need to run some tests before deployment on an environment as close to my production server as possible. How can I virtualize the current installation into VM image to be able to run some of my ...
0
votes
0answers
22 views

Vagrant vbox 45-50% CPU usage

I am running a headless Ubuntu server box on my Windows 7 64 bit PC with Vagrant. My PC has 8 GB ram and Intel Dual Core 3.16Ghz E8500 processor and PAE. The problem is that VBox routinely uses btw ...
0
votes
1answer
75 views

Puphpet, Vagrant and Nginx custom locations

I'm trying to add some custom Nginx locations to a Vagrant Puphpet config.yaml file and it seams I cannot find the correct format for that. I searched for it but no luck. Did anybody already did this ...
3
votes
2answers
90 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 ...
0
votes
0answers
74 views

Mac OS X Mavericks - IconServicesAgent memory usage started to grow (leaks?)

Recently I found that IconServicesAgent began to grow up to 130-200Mb but before it was max 6Mb.. As far as I remeber last things that I was installing were Vagrant and Virtualbox. Not sure that ...
0
votes
1answer
29 views

Ubuntu VirtualBox VM locks up frequently on Win8 host

Using the same exact Vagrantfile to build an Ubuntu 12.04 x64 VM on both MacOS and Win8, I noticed that the VM locks up frequently (at least once per minute) on Windows. At first I thought it might be ...
0
votes
1answer
52 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 ...
3
votes
3answers
2k 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
64 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 ...
1
vote
1answer
611 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
894 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
70 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 ...
33
votes
4answers
13k 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
114 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
232 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
1k 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 ...
1
vote
0answers
211 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
43 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
35 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
36 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 ...
4
votes
1answer
389 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
419 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 ...
0
votes
1answer
52 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 ...
1
vote
0answers
249 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 ...
1
vote
1answer
112 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
53 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
32 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
51 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
360 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
228 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
223 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
61 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 ...
2
votes
2answers
189 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
93 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
192 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
178 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
418 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
2k 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
633 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
293 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
699 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 ...