Vagrant is free and open-source software for creating and configuring virtual development environments. It can be considered a wrapper around virtualization software such as VirtualBox and configuration management software such as Chef, Salt and Puppet.

learn more… | top users | synonyms

0
votes
0answers
13 views

Snapshotting / Saving cloud foundry single node install for future use.

I have set up cloudfoundry on virtualbox using bosh-lite and vagrant. I would like to save the state of the machine for future use either on my own machine or for others to use and experiment with as ...
0
votes
0answers
75 views

Linux Fedora +Virtual box +vagrant = problem with shared folders

My host OS:Fedora 21 x86_64 Virtual box: 4.3.20_RPMFusion r96996 vagrant: 1.7.2 I use shared folders with NFS synchronization for my projects . When vagrant try create shared folders i have ...
0
votes
0answers
26 views

Creating a Ubuntu disk-less image with Vagrant

I'm trying to set up Ubuntu diskless servers and clients. In the section "Creating your NFS installation" whereby we have to copy client OS files to server. mount -t nfs -onolock ...
0
votes
2answers
308 views

How do I download a vagrant image?

I want to use box-cutter/debian77 but when I try vagrant box add box-cutter/debian77 https://atlas.hashicorp.com/box-cutter/debian77 I get Downloading box from URL: ...
1
vote
1answer
382 views

Set storage size on creation of VM VirtualBox

Is there a way to set the storage size for the VM on creating it? I will be using Vagrant, but not sure if this is something that needs to be done in VirtualBox or a setting I can include in the ...
0
votes
0answers
113 views

Create disk space on Vagrant/VirtualBox guest

I am looking to expand my VMs storage space and have done it the following way: Moved Vagrant to an external hard drive Reformatted the box to .vdi, resized it, formatted back to .vmdk Re-added the ...
1
vote
1answer
33 views

SELinux ignoring configuration?

I'm using Vagrant and VirtualBox to run a CentOS 6.5 VM. In /etc/sysconfig/selinux I have set SELINUX=permissive. However, everytime I restart the VM, sudo getenforce shows SELinux as Enforcing. ...
1
vote
1answer
333 views

MacOS X Mavericks running VirtualBox cannot communicate with Linux VM

I have a MacOS X Mavericks host running Vagrant using VirtualBox as a provider. I have experienced several times that with different VMs (particularly Ubuntu Linux VMs) after the first time the VM is ...
0
votes
0answers
55 views

Vagrant user permissions

What I like about vagrant is that all the permissions work out of the box when provisioned with Puppet. However I can't get the same permissions to work on my digitalocean droplet. On my vagrant box, ...
0
votes
0answers
102 views

inotifywait to monitor shared directory on laravel homestead

I need to watch a directory that is shared on a network for new files. I used inotifywait from inotify-tools and it is great except when the file is added from the other place. For example: I am ...
0
votes
0answers
141 views

NFS shared folder ownership does not change in guest OS in Vagrant

I have the following Vagrantfile: ... config.nfs.map_uid = 33 config.nfs.map_gid = 33 config.vm.synced_folder "/home/test", "/home/test", type: "nfs" ... After vagrant up /home/test folder ...
0
votes
0answers
58 views

Problem with NFS and Vagrant

I have two different VMs (which I configure with Puppet and run using Vagrant) and one of them is not able to mount a NFS folder from a shared network folder while the other is. The error: mount.nfs: ...
1
vote
0answers
124 views

Why don't I hear audio playing from my CentOS 6.5 Vagrant box?

I want to play a wave file from my CentOS 6.5 Vagrant box using aplay and of course I want to hear the sound. This is what I do: > aplay sine.wav Playing WAVE 'sine.wav' : Signed 16 bit Little ...
1
vote
1answer
159 views

Setting Solarized colors on a Vagrant Ubuntu Box

I am trying to set the colors of my Ubuntu Box to match the 16 colors palette of the Solarized color theme. I have installed Ubuntu 14.04 Server, no GUI option enabled. When I ssh into this VM and I ...
1
vote
2answers
311 views

cannot ping vagrant machine

My experience with vagrant is very little as most of the time is seems to work. In this case however, I have not been able to get the desired behaviour. I am trying to work on a rails application ...
3
votes
2answers
2k views

Installing mysql-server in vagrant bootstrap shell script (how to skip setup?)

I did try to install mysql-server on my Vagrant Ubuntu 12.04 LTS virtual machine. When I did so, the setup auto-starts. I can see this in the Vagrant output: While not mandatory, it is highly ...
2
votes
0answers
703 views

Running shell script inside with vagrant provision

I have setup a vagrant box using precise64 (ubuntu 14.04) and installed packages needed for octopress. I can ssh into the vagrant box and generate posts and run preview for my octopress site. Now I ...
1
vote
0answers
164 views

Forward local port to remote port in a Vagrant machine

I have MySQL running on my local machine and I need to publish this port to a Vagrant box without any special SSH hackery. Is there a way for me to forward 10.0.2.2:3306 to 127.0.0.1:3306 on the ...
2
votes
0answers
1k views

Vagrant: failed to mount nfs shared folder (mount.nfs: Operation not permitted)

Vagrant throws error message: ==> default: Mounting NFS shared folders... mount -o 'vers=3,udp' 192.168.33.1:'/home/xxx/vagrant/www' /home/www mount.nfs: Operation not permitted ssh to the ...
5
votes
1answer
2k views

Proper syntax for ansible symlink

What is the proper syntax for creating symlinks using ansible? I'm creating a Vagrant virtual environment and running ansible as my provisioner. Everything works fine up until I try to symlink to my ...
0
votes
0answers
183 views

vagrant private network unstable

I have these 2 boxes, but I have a problem, when I start disributed and ping 172.28.128.2 often the network isn't working, but if I then go into oracle and ping 172.28.128.3 it'll find that and both ...
0
votes
0answers
220 views

can I make a vagrant multi machine vm depend on another

So we have a database vm that we always want to start, we also have a vm that works for a distributed configuration, that we only want to start when we're testing that. My problem is I want the ...
1
vote
0answers
444 views

Distributed video encoding with ffmpeg

I'm in a process of giving form to a very old dream of mine - to create an efficient and cheap video encoding platform. And following the great examples such as SETI@home, BitTorrent and BitCoin, ...
2
votes
1answer
1k views

Creating a Vagrant box with Docker installed

I'm trying create a nice playground for Docker in Vagrant based on Vagrant's precise64 box. (Code is available at GitHub: rfkrocktk/docker-vagrant-playground) Here's my Puppet provisioning ...
2
votes
0answers
291 views

Vagrant-lxc container not starting

Firstly I'd like to say that I'm new to LXC and I may have some problems getting the right idea of how the things should work. The thing is I'm trying to start a previously download vagrant-lxc box ...
1
vote
1answer
613 views

VMWare Tools Stops Working upon dist-upgrade

To give a little background, i'm trying to prepare a Vagrant environment that I will use for WordPress development. I downloaded the Precise_64 VMWare Workstation box and configured the Vagrant Plugin ...
2
votes
1answer
191 views

local shutdown scripts (do's and don't's)

At work, I'm running linux, and use vagrant on a daily basis. What I find annoying is that the system often hangs when I reboot/shut down, if I forgot to vagrant halt any virtual boxes I may have ...
1
vote
1answer
124 views

compiling nginx shell fails from salt provisioner

I have a salt provisioner that is calling a shell script to compile Nginx with a few modules that are needed. This is the call to the script in the .sls: nginx: # pkg.installed: # - name: nginx ...
1
vote
3answers
2k views

apache not starting in vagrant vm

I used Puphpet.com to create a Vagrant VM to be used for web development. The problem I am having is that the VM cannot start apache on boot. $ sudo /etc/init.d/apache2 start * Starting web server ...
3
votes
1answer
4k views

dpkg: warning: 'ldconfig' not found in PATH or not executable - Ubuntu 12 - Vagrant

I am working on setting up a Vagrant / Puppet install so that new developers can have a clean development environment for our Rails project. The basic Vagrant configure commands are: config.vm.box ...
3
votes
2answers
322 views

How do I keep the .local TLD in my intranet

I use vagrant to launch VM's and bridge the network access to my local machine. Unfortunately exvery VM launch gives me a new IP address, and MAC address. I have a domain.local that I use and ...
5
votes
1answer
4k views

ssh-agent forwarding for a Vagrant VM

I'm currently looking at setting up a Vagrant environment on my Mac machine, so that I can run vagrant up and it will then install rbenv and ruby and all I need. Then I have a Bash script that will ...
4
votes
1answer
2k views

VirtualBox: mount a shared folder automatically in Gentoo

I'm currently writing a template (in veewee) to build a vagrant box running Funtoo x86_64. Currently, my box fails the last step for vagrant basebox validate, in which a shared folder has to be ...
3
votes
1answer
9k views

gparted live CD can't resize a partition?

I recently ran out of space on a VirtualBox VM (CentOS guest) managed by Vagrant. It was using a .vmdk image, so I couldn't dynamically resize it. Following these instructions, I cloned the old image ...