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

learn more… | top users | synonyms

0
votes
1answer
43 views

Virtualbox vm goes into aborted state whenever Macbook goes to sleep

I'm running Yosemtie OSX (10.10.2) and Virtualbox 4.3.22. Whenever my macbook goes to sleep, my vm goes into "aborted" state, and does not recover (i.e. has to be manually restarted/booted). Looking ...
2
votes
2answers
338 views

How to ssh between a cluster of Vagrant guest VMs

I have 3 Ubuntu 12.04 VMs configured with bridged networking and setup with Vagrant. I can access all of them from the host using "vagrant ssh", but I can't figure out how I connect from one guest VM ...
0
votes
0answers
3 views

vagrant config with public iface problems

I have Vagrant/coreos 3 node configuration in VirtualBox with config.vm.network "public_network", bridge: 'eth0: Wi-Fi' when coreos nodes come up they have for some reason 2 network ifaces: eth0 that ...
0
votes
0answers
9 views

vagrant re- installation problems

I had to move my environment to new account "newname" from the old one "oldname". I cannot re-initialize vagrant ( i tried vagrant init, or manually deleting /Users/newname/.vagrant.d), it still ...
0
votes
0answers
30 views

vagrant guest connection problems

I have VirtualBox 4.3.22 on OSX 10 with guest additions installed In VirtualBox I have: Vagrant/CoreOS guest vm in NAT networking mode with eth1 addr 172.17.8.101 Ubuntu 14.04LTS guest vm in ...
0
votes
0answers
29 views

cannot mount vagrant synced folder after packaging box

I have created a vagrant box on osX. With the following configurations I can start the box to use a synced folder. config.vm.box = "mac_osx_1010" config.ssh.insert_key = false ...
-1
votes
1answer
42 views

Getting started with Vagrant, [ vagrant up, Connection Refused ]

I am trying to get started with Vagrant following the documentation at: http://docs.vagrantup.com/v2/getting-started/index.html I installed vagrant for my OS and have VirtualBox installed. I ran the ...
0
votes
0answers
6 views

vagrant - Windows - multi boxes

This is a simple question but something continues to go wrong for me. How on Windows 64 should I use and manage multiple vagrant boxes? These are the docs http://docs.vagrantup.com/v2/boxes.html ...
13
votes
4answers
17k views

SSH Basics on Vagrant VMs

I'm building a vagrant machine (Ubuntu 12.04) with the following requirements: SSH access via Vagrant to a user with sudo-privileges. I've generated public/private keys (via ssh-keygen) on the ...
0
votes
1answer
62 views

How can I run a Rails server when I start Ubuntu?

I need to run this command cd /my/app/path&&rails s every time I start my Ubuntu virtual machine. I've tried to add it to /etc/rc.local file and also in /etc/init.d/rc.local but it ...
0
votes
0answers
15 views

Why this vagrant file creates 7 network interfaces rather than 3?

I want to do some testing to compare dhcp vs fixed ip of host-only network of virtualbox. I have come up with this Vagrantfile: # encoding: utf-8 # -*- mode: ruby -*- # vi: set ft=ruby : ...
0
votes
2answers
210 views

How to add a 'Host-only Adapter' to a VirtualBox machine via Vagrant file configuration?

A lot of answers out there are only applicable version 1 of Vagrant file configuration. e.g. config.vm.network :hostonly, :adapter => 2 The new public network does not support this feature. e.g. ...
-1
votes
1answer
38 views

Vagrant up command not working

When I do vagrant up command, I get the following error: There was an error while executing `VBoxManage`, a CLI used by Vagrant for controlling VirtualBox. The command and stderr is shown below. ...
1
vote
0answers
62 views

Homestead/Vagrant virtual server error: default: stdin: is not a TTY

Mac OS X 10.10.1 Vagrant 1.7.2 Laravel Homestead 4.2 When attempting the command vagrant up the server appears to boot, but then seems to fail, returning to the command prompt. Boot up seems to be ...
1
vote
0answers
103 views

Can't install Guest Additions Ubuntu 14 in Vagrant

I am trying to install the Guest Additions in Ubuntu 14, but I always get an error when install Virtual box guest additions. I have installed all the headers. Can anyone point we to what it could be ...
1
vote
1answer
25 views

Can I get Vagrant to keep the insecure keys?

It seems that Vagrant generates a new key pair if it detects insecure ones. Is it possible to prevent that behavior?
4
votes
2answers
4k 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
0answers
24 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 ...
17
votes
1answer
11k views

Copy vagrant box locally

I have a vagrant box running on VirtualBox, and I need to make a copy (with all its existing config and data), so that I can make changes on it without affecting the original. The problem is that my ...
0
votes
1answer
90 views

Vagrant Complaining about missing VMWare License

So first of all I do not want to use VMWare with Vagrant. I want to use VirtualBox. I am running on OSX 10.9 by the way. A few days ago I installed Vagrant. I followed the instructions to set up ...
0
votes
0answers
60 views

“Guest-specific operations were attempted on a machine that is not ready for guest communication.” exception when provisioning an AWS EC2 machine

I have used vagrant up to create a AWS EC2 instance. After I have stopped and restarted this instance, I want to rerun vagrant provision with updated provision clauses in the Vagrantfile. It failed ...
0
votes
0answers
22 views

How to supress syslog from displaying messages to console

I have a docker container(phusion/baseimage-docker) running inside of VirtualBox virtual machine. When I attach to the container I constantly see the output of syslog(cron logs for example) which ...
0
votes
1answer
29 views

How can I connect to MongoDB on my Mac OSX from a process on a Vagrant/Virtualbox machine?

I can't use localhost because from my virtual machine's perspective localhost is the virtual machine itself and not the underlying host that it is running on. How can I connect to the host machine ...
0
votes
2answers
30 views

nginx on vagrant box doesn't start automatically

I've set up a vagrant box with this vagrantfile: # -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure(2) do |config| config.vm.box = "puphpet/debian75-x64" config.vm.synced_folder "../.", ...
0
votes
0answers
34 views

VMware vmnet2 routes collide with en0

I am getting the following error when starting a vagrant box: gajus:vagrant gajus$ vagrant up Bringing machine 'default' up with 'vmware_fusion' provider... ==> default: Checking if box ...
1
vote
2answers
441 views

Automatically use specific language in Notepad++ for files with no extension

Specifically, I want NPP to remember to use Ruby syntax highlighting whenever I open a Vagrantfile. These don't have an extension, and I tried adding "Vagrantfile" to the user extensions in the style ...
0
votes
1answer
67 views

How to connect an Android Emulator to a Vagrant Image on the same host?

I have a non-trivial application, comprised of a number of web & database servers that reside within a Vagrant image. Port forwarding (with iptables) has been enabled on the host such that I can ...
0
votes
0answers
80 views

Guest Windows XP virtual machine synced folder with Vagrant

I am not able to use a shared folder between a guest Windows XP virtual machine and a host Linux laptop where I am running Vagrant. My Linux host version is: Ubuntu 14.04.1 LTS My Vagrant version ...
0
votes
1answer
44 views

What are the names of my network adapters? (Vagrant related)

I'm trying to use mVagrant to set up a bridge on the correct network adapter. I keep getting this message: Specific bridge 'Wireless LAN adapter Wireless Network Connection' not found. You may ...
0
votes
0answers
91 views

Virtualbox and Vagrant network configuration Windows 8.1

I'm trying to access a website on a vagrant box (Laravel Homestead) through port 8000 on my host but it always gives the ERR_CONNECTION_REFUSED error on Chrome and IE. I have tried multiple setups, ...
0
votes
0answers
11 views

Suppress processing of global Vagrantfile

In addition to the machine-specific Vagrantfile I also have a global one located in ~/.vagrant.d/Vagrantfile. While the machine specific files are shared between my colleagues this global files ...
0
votes
0answers
170 views

CentOS 7 Vagrant VM partially losing network connectivity

I am using a self-built Vagrant base box running a minimal installation of CentOS 7 (I created it following Vagrant's documentation - if you want more information, I outlined the process in an article ...
0
votes
3answers
217 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 ...
1
vote
1answer
32 views

vagrant-omnibus: not a valid version of chef

At some point I started receiving following error while trying to provision new vm with vagrant: There are errors in the configuration of this machine. Please fix the following errors and try ...
0
votes
0answers
64 views

Error writing to file C:\Config.Msi\…" Windows 7 install of Vagrant 1.7.1 or 1.6.5

On Windows 7 while installing Vagrant 1.7.1 from the msi file, I get the error: "Error writing to file C:\Config.Msi..." I read a few suggestions for this general kind of issue and tried: ...
0
votes
0answers
43 views

Vagrant VM mysteriously disappearing after rebooting host

I am running Vagrant on Windows 7. I use cygwin to run Vagrant up and halt, etc... I noticed that if I do a vagrant halt, and then restart my host computer (the physical box), my vagrant VM ...
0
votes
1answer
65 views

Vagrant and virtualbox painfully slow

I'm having serious issues developing my laravel application on my windows machine. I'm running vagrant 1.6.3 and virtualbox 4.3.12 using the default shared folder. This issue just started to pop up ...
2
votes
3answers
679 views

How to provision Vagrant to set a proxy and use it?

I have the following setup: Windows 7 computer Installation of Ruby, Vagrant, VirtualBox VBox image Ubuntu 14.x Working in the intranet of my company that needs a proxy to access the internet I am ...
1
vote
1answer
529 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
0answers
158 views

Virtualbox in a Ubuntu Docker Container is missing Kernel Headers

I'm trying to run virtualbox in Docker for the use of vagrant. I try to achieve that with Ubuntu. This is my Dockerfile: FROM ubuntu RUN apt-get update RUN apt-get install -y ...
2
votes
3answers
2k 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 ...
1
vote
2answers
904 views

How to change group id and mountpoint of vagrant default shared folder

When I use vagrant with default settings and default Vagrantfile it will mount the current host folder into: /vagrant in the guest box. Owner and group of the directory is vagrant. How can I ...
0
votes
0answers
19 views

Is it possible to have two versions of Vagrant in Mac OS X?

in my company we are using Vagrant 1.3 and I cannot update it because the Vagrant files we are using in our development environment are tied to that version, and they won't work anymore. I am ...
0
votes
1answer
38 views

How can I preserve content in shared/synced vagrant directories on exported / packaged box?

I am trying to export a machine I created with vagrant to either an OVA file for Virtualbox or a package to host in vagrantcloud. The machine exports successfully, but then when I start it up, the ...
0
votes
0answers
57 views

Cannot curl webserver from outside network

I have a webserver running on one of my home computers. I am able to access it within my network, on another computer, with curl localWebserverIP:8888. However, I am having issues accessing it from ...
0
votes
1answer
56 views

Why does “vagrant up” fail with a 64bit client?

I'm trying to start a vagrant box. This box is a 64bit Linux (Ubuntu Trusty) and I'm on Windows 8.1 x64. When I try to start the box, it will repeatedly print: default: Warning: Connection timeout. ...
0
votes
1answer
237 views

Vagrant - warning: Insecure world writable dir /usr/local in PATH, mode 040777

Os X Yosemite 10.10.1 i install vagrant and after vagrant status i recieved warning: Insecure world writable dir /usr/local in PATH, mode 040777 chmod -R o-w /usr/local/ - don't work for me and ...
1
vote
1answer
120 views

Auto Shutdown / Suspend Vagrant upon shutdown on Windows Host

I use vagrant in my development workflow on a Windows machine. Sometimes, I forget to do a vagrant halt or suspend before restarting or shutting windows down. I read that this could possibly break ...
2
votes
1answer
853 views

vagrant and virtual box and the license file

I got the following problem: I own a copy of vmware fusion 5 (license key with format XXXXX-XXXXX-XXXXX-XXXXX-XXXXX) and want to use the vagrant fusion plugin. So, trying to get things to work ...
0
votes
0answers
26 views

Can't open local server through Vagrant Share

I have Vagrant dev environment running locally on my Mac. Everything works fine while I'm working on my Mac, but when I try to access same environment using Vagrant Share, from outside, I'm not able ...