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

3
votes
0answers
14 views

How to disable a specific interface (dhclient) from resolvconf?

I am using ubuntu/trusty64 Vagrant box with VirtualBox. I want to permanently disable nameserver 10.0.2.3 set by resolvconf based on Vagrant's default eth0 interface. I have a network defined in my ...
0
votes
1answer
9 views

VirtualBox/Vagrant host only network host doesn't get IP address

I'm running Vagrant and VirutalBox and wants to use a host only network. I use the following configuration: config.vm.network "private_network", ip: "33.33.33.33" However my host doesn't get an IP ...
0
votes
0answers
11 views

How to edit .box file from an Existing One

I have debian .box file which we are using on vagrant and now I need to upgrade some packages on base image on .box file. How do I edit/open .box file from an Existing One?
0
votes
1answer
95 views

Vagrant libvirt provider on Fedora 23

I need to install libvirt Vagrant plugin but it fails with the following error: $ vagrant plugin install libvirt The plugin(s) can't be installed due to the version conflicts below. This means that ...
0
votes
0answers
31 views

Sudo, Virtualbox, and Permission issues. (The Good, The Bad, The Ugly)

I hope the title didn't put you off as this is a fairly interesting and nuanced problem. I'm testing a development image of Linux Mint built by myself and a friend. I'm testing it out by trying to do ...
0
votes
1answer
45 views

Public static IP only for a Vagrantfile

I modified the Vagrantfile for taiga-vagrant based on VAGRANT DOCS/Public Networks as follows: # -*- mode: ruby -*- # vi: set ft=ruby : require "./source.rb" ROOT_PATH = File.dirname(__FILE__) ...
0
votes
0answers
58 views

Connection timeout error for vagrant up

I have Installed virtualbox-dkms $ sudo apt-get install virtualbox-dkms DKMS: install completed. * Stopping VirtualBox kernel modules ...
1
vote
1answer
221 views

Trying to restart apache using Vagrant - “The apache2 configtest failed”

I have setup Vagrant (details below) and am just trying to start Apache so that I can get to a point that I can actually see a site in a browser, however when using sudo service apache2 start, I ...
1
vote
1answer
40 views

building docker images makes the Vagrant-managed VBox VM freeze

Folks While researching utilizing Docker images for web apps development I've stumbled upon the following issue. (all commands found bellow are executed inside a Vagrant-managed VBox vm) Create a ...
2
votes
1answer
205 views

Where is vagrant's log file?

I am trying to debug a vagrant- or VirtualBox related problem (see taiga-vagrant fails to provide a working taiga environment #21). The command VAGRANT_LOG=debug vagrant up --debug prints out plenty ...
0
votes
0answers
15 views

Vagrant guest git repository sharing with host and local network (forwarding)

I have a GNU/Linux host and a Vagrant guest box with a bare git repository of projects I want to share in my local network. For apache I simply forwarded port 80 in the guest to port 8080 in the host ...
1
vote
1answer
78 views

Virtualisation: follow symbolic links in VirtFS (9p) share

I have folder on host machine which have symlinks to another device. Like this $ ls -all ~/folder_to_share ... file1 file2 linked_dir -> /mnt/bdrive/real_dir/ ... I setup QEMU virtual machine ...
0
votes
1answer
222 views

How to use Vagrant provisioning to install a package without download?

The title says it all. I'm using Vagrant boxes for several purposes, and in most cases the prepared boxes I can download are totally sufficient. However, sometimes I need one or a few additional ...
0
votes
1answer
50 views

Failed to mount /media/sf_vagrant

I am trying to setup automated mounting of my vbox shared folders. Everything works just fine from my normal user: $ sudo mount -t vboxsf vagrant /media/sf_vagrant However if I follow the manual ...
3
votes
3answers
58 views

removed a vagrant file and now I see .nfs0000000000b869e300000001?

I rm'd a file and now I see: $ l total 64 -rw-rw-r-- 1 502 17229 Sep 17 16:42 page_object_methods.rb drwxrwxr-x 7 502 238 Sep 18 18:41 ../ -rw-rw-r-- 1 502 18437 Sep 18 18:41 ...
1
vote
1answer
2k views

Vagrant 1.7.*. is not supporting supporting virtualbox 5.x?

I have installed virtual box-5.0.2r102096. Previously I have virtual box 4.3.*. Vagrant version is Vagrant 1.7.2 but it was giving me following type error when I do vagrant up Failed to mount ...
0
votes
2answers
36 views

How to forward firefox graphics from remote to local system?

I have installed CentOS7 in virtualbox through vagrant. Both guest and host operating system is CentOS7. Guest operating system is minimum installation of centos7 with no graphics. On both system I ...
2
votes
1answer
104 views

How to connect from one VM Guest instance to another to another VM Guest instance

I have Windows 7 as my Host OS and I have a VM guest instance of CentOs 6, now I have created a more Instance guest Centos 6 via Vagrant. All are working fine and I am able to do a ssh/ping from ...
0
votes
1answer
879 views

how to create custom vagrant box from libvirt/kvm instance?

There are many resources on the Internet to create a custom vagrant box from a VirtualBox instance. But I want to know a direct method to create a custom vagrant box directly from a kvm/libvirt ...
1
vote
0answers
230 views

Vagrant + CentOS 7 - Apache fails to start, I don't see an error

I'm spending some time trying to provision a Vagrant box running from a CentOS 7 base box. After a fresh install of Apache, I am able to hit the server over http and restart the server, but as soon ...
0
votes
0answers
74 views

`vagrant up` dies in wait_for_communicator.rb:16:in `block in call'

I followed these steps including common advice to enable NFS in my vagrant-lxc setup for mediawiki-vagrant, but I'm getting stuck in this loop which ends with the lines below as I run REDIR_LOG=1 ...
0
votes
2answers
372 views

Vagrant: missing destination file operand after ‘/etc/exports’

I'm running Vagrant 1.7.3 with an Ubuntu 14.04 basebox, and I want to try out the new Puppet 4.2.0. However, when I run vagrant up on an empty VM, I get the following error: cp: missing destination ...
3
votes
1answer
135 views

How to get clipboard support on a Linux server without X11

I have a virtual Linux development environment running under VirtualBox and Vagrant. I use tmux and vim to setup multiple open vim instances. I'd like to be able to copy and paste between those ...
0
votes
0answers
189 views

Installing Docker into Vagrant VM failed

I'm using Vagrant and Docker and this problem occurred while i vagrant up my machine, it works fine before: ==> default: Running provisioner: docker... default: Installing Docker (latest) onto ...
8
votes
2answers
3k views

Use VirtualBox provider by default on Fedora 21

Right now, any time I use vagrant, it tries to use libvirt as the provider. I want to use VirtualBox by default. vagrant-libvirt is not installed. It's bothersome because some commands don't work, ...
0
votes
0answers
29 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
220 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
2answers
2k 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: ...
10
votes
2answers
9k 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 ...
1
vote
0answers
633 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
59 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. ...
2
votes
1answer
2k 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
151 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
271 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
1answer
469 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 ...
2
votes
0answers
349 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
348 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
1k 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 ...
11
votes
2answers
7k 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
1answer
999 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
227 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
2k 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 ...
12
votes
1answer
6k 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 ...
1
vote
0answers
395 views

Can I make a vagrant multi-machine VM depend on another?

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 ...
2
votes
1answer
2k 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
444 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
827 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
220 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
180 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
3k 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 ...