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

learn more… | top users | synonyms

0
votes
0answers
10 views

Vagrant interface issues

Using a very simple Vagrantfile # -*- mode: ruby -*- # vi: set ft=ruby : # See README.md for details VAGRANTFILE_API_VERSION = "2" Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| ...
0
votes
1answer
45 views

Where do you place the “preseed.cfg” file?

I’m trying to create a Ubuntu Vagrant box using Packer. I’m confused about where to place the preseed.cfg file. Does it have to be in directory mentioned in http_directory?
1
vote
1answer
16 views

Homestead: Cannot start

I cannot seem to get my box working properly. I'm following the instructions here. I'm running Windows 8.1 64-bit. When I run vagrant up, it goes through a series of commands and logs a bunch of ...
0
votes
0answers
7 views

How to share a single Virtual Machine across multiple Vagrant files

I don't want to have multiple VM boxes on my machine since I'm pressed for space. I want to be able to share one VM across different Vagrantfiles. Is it possible? My experience has been that they use ...
0
votes
0answers
9 views

Vagrant shell provisioner does not respond

I am provisioning a VM through shell script in AWS using vagrant-aws plugin. VM gets launched and the shell script gets executed but I don't see any update on the shell prompt. It used to get updated ...
1
vote
1answer
94 views

“vagrant up” not working on Windows 7 behind firewall

I am very new to Vagrant and VirtualBox. I have installed both of these and cloned the necessary directory with the following command: git clone https://github.com/scotch-io/scotch-box.git ...
0
votes
1answer
14 views

Mounting issue while running vagrant up command

I am trying to run vagrant up command inside ~/Documents/Cyle-Rest project and I get some issue with disk mounting which I am unable to resolve. The issue is The following SSH Command responded ...
0
votes
0answers
19 views

Mount Mac OSX nfs folder in a Vagrant machine with uid 1000

I'm developing on Mac and I want to share my OS X Extended (Case-sensitive, Journaled) folder to a Vagrant machine through NFS because vboxsf performance is too poor. My Case-sensitive drive is ...
1
vote
1answer
11 views

Make SSH_AUTH_SOCK be the same file every time

I need to be able to make ssh-agent use the same file for it's socket every time I log in. Currently it uses a random file in a temp folder, and this is causing issues for a systemd service in ...
0
votes
1answer
22 views

Vagrant SSH & Nano on Linux Mint 17.3

I've recently installed Vagrant (1.7.4) and VirtualBox (5.0) on 3 laptops each running Linux Mint. Have reached a stage on all 3 where I need to edit a config file on the VM itself. So far, so good. ...
0
votes
0answers
5 views

VBoxManage creating file in wrong directory

Hey there I'm using vagrant to set up some test boxes however I don't want any of the files to be on my main disk. I've changed $Vagrant_Home to be off disk however VBoxManage is still creating files ...
0
votes
0answers
8 views

Can I install x64 vagrant system via virtualbox in virtualbox machine?

I have main OS Windows 10 and install VirtualBox machine with Ubuntu 14.04 where I want install vagrant with centos x64. Is it possible? I try it but I got vt-x is not available (verr_vmx_no_vmx) ...
16
votes
2answers
13k views

How to fix extremely slow Virtualbox network download speed?

I'm using an Ubuntu 12.04 VM (hashicorp/precise32) via Vagrant/Virtualbox. It seems to have an exremely slow download speed compared to my host system. This is what I get with the host system (OSX) ...
1
vote
1answer
204 views

Vagrant, can't download box

not sure why I'm having this issue but I can't add vagrant boxes. Using windows 10, tried on powershell and simple command prompt. same issue. It's a relatively fresh install of windows. Maybe I'm ...
0
votes
0answers
5 views

Vagrant guest with public_network only pingable in public ip from host

I have a vagrant vm (Vagrant 1.8.1, Virtual Box 4.3.34) which i would like to access from another computer in my local network. The line in the vagrant file is: config.vm.network :public_network, ...
1
vote
1answer
24 views

Disable vagrant default ssh behaviour

Is there a way to disable the default behavior of vagrant to ssh when doing 'vagrant up'? From their doc. I don't see that mentioned anywhere? ...
1
vote
0answers
18 views

Slow vagrant box, how to improve this?

We've built a vagrant box for our development box and we are facing some latency issues. Issues: Assetic:watch is being slow Overall application access in (app_dev.php) is slow Using "find" command ...
0
votes
1answer
55 views

How to script install of Virtualbox Guest Additions to a Vagrant Debian box?

I would like to make use of a vanilla Vagrant box for Debian (debian/jessie64), but automate the install of VirtualBox guest additions and enable using Virtualbox sharing for the /vagrant directory ...
1
vote
2answers
490 views

How to change the ssh host in Vagrantfile

I run vagrant(1.7.2) on Mac OS(10.10.3) with Snappy Ubuntu Core(15.04 stable), for docker, using VirtualBox 4.3.28 as a provider. It all went well before I configured the "public_network" in ...
0
votes
0answers
8 views

How to get Vagrant to reset the SSH keys?

Is there a command that I can use to get Vagrant to regenerate a new key for ssh login via vagrant ssh or do I need to manually generate a new key and insert it into the right place in the .vagrant ...
5
votes
2answers
3k views

Having vagrant provisioning clone a repository,

I'm trying to build an environment that when it finishes bringing the VM up it clones a repository into the share directory. The problem is that the box doesn't have SSH permission on the remote ...
1
vote
2answers
901 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?
1
vote
1answer
63 views

How to start using Windows box after vagrant up successfully?

I am new to Vagrant with Windows using VirtualBox and I follow the example mentioned here. All is good and I am able to vagrant up dev to the dev machine. I see this message: ==> dev: Booting ...
0
votes
0answers
27 views

rsync unexplained error (code 255) at io.c(820)

Out of the blue, upon vagrant up, rsync started throwing the error below: There was an error when attempting to rsync a synced folder. Please inspect the error message below for more info. Host ...
0
votes
0answers
36 views

Vagrant not setting up private network interface

I've recently upgraded to Vagrant 1.7.4 on a Ubuntu 12.04 host. I have a development vm that I've run everyday for the last year. After upgrading, vagrant no longer creates the network interface for ...
4
votes
5answers
13k 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 ...
6
votes
1answer
399 views

Vagrant Reports Different Installed GuestAdditions version

I've seem posts on the Internet about similar issues like this one, but I couldn't get it to work. Host OS: Mac OS X 10.11.1 (El Capitan) Guest OS: Ubuntu 14.04 LTS Virtualbox 5.0.8 Vagrant 1.7.4 $ ...
0
votes
0answers
21 views

Vagrant up fails in virtualbox

I have Windows 7 installed on my workstation. Recently I installed VirtualBox and made an Ubuntu virtual machine that I need for development purposes. After installing all necessary software including ...
1
vote
0answers
50 views

DNS Server and Client Configuration inside Vagrant VMs?

I have a development environment with 2 VMs running CentOS 7 through vagrant. My provider is VirtualBox. site.dev.cafe is my DNS server, and I believe its configuration is correct and working. On ...
0
votes
1answer
25 views

Unable to install Vagrant_1.7.4

I am unable to install the software Vagrant_1.7.4, that is Nothing happens Steps: 1) I have Windows Vista Laptop, I downloaded Vagrant_1.7.4.msi, I am unable to install the file, Right--click on ...
1
vote
1answer
50 views

How can I broadcast Avahi services between Vagrant (VirtualBox) VMs?

I've got a project with a Vagrantfile which takes a while downloading all its Debian packages. I figured an easy way to speed up initial provisioning would be to make another Vagrant-based project ...
0
votes
0answers
26 views

How can I connect Filezilla to a Vagrant VM?

A friend has set up a vagrant vm running Ubuntu with many directories and files in it. The VM is running locally on my computer using Virtual Box. I don't want to setup a shared folder in it but I ...
0
votes
0answers
25 views

Vagrant up and ssh not working on school network

I'm connected via WiFi to my school's network and when I try to vagrant up or vagrant ssh I get the following messages: vagrant up ==> default: Waiting for machine to boot. This may take a few ...
1
vote
0answers
27 views

Windows 8.1 + Vagrant - Connection Refused - Makes me want to cry

I've spent two days chasing my tails with Vagrant. Under no circumstances can I connect from my Windows 8.1 host machine to the VM, not through the browser, nor with Putty. Even doing a simple ...
3
votes
2answers
5k 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 ...
3
votes
1answer
664 views

Is there a way for Vagrant to import a local box file with a specified version?

I'm using versioned boxes, but not using Vagrant Cloud (I have a custom box host). Downloading versioned boxes works well. However, when I'm developing new versions of my box locally, I don't want to ...
1
vote
0answers
34 views

Vagrant Ubuntu server loses connectivity after host Ubuntu goes to sleep

The issue is self explanatory: In Ubuntu 15.10 Desktop as a host, Ubuntu server 14.04LTS loses connectivity after host goes to sleep mode and repairs only after reload. I've tried: sudo ...
2
votes
1answer
94 views

Vagrant unable to start VM after Windows Update

All of a sudden, I am no longer able to boot Vagrant VMs. Here is the error: default: Warning: Connection timeout. Retrying... default: Warning: Connection timeout. Retrying... default: ...
0
votes
1answer
48 views

Warning: Authentication failure. Retrying

when i try to create a VM using vagrant up it's output show like this. how can i resolve this? im using a existing vhdx(using manually created vhdx and also it conected to the domain). I use the ...
2
votes
1answer
63 views

VirtualBox Shared Folder has Insufficient inodes

I'm trying to use Vagrant + VirtualBox to build a Yocto based project. The build process is aborting before it starts compiling because it does a sanity check for disk space and inode. It appears ...
0
votes
1answer
86 views

Remotely execute command via vagrant ssh

Using vagrant ssh I'm able to ssh into VM(ubuntu). But once I ssh into VM, I want to go to a directory on VM's Desktop and execute a command. In short, I want to achieve the following: a) ssh into VM ...
1
vote
0answers
12 views

How can I allow my Vagrant instance to connect to a python server on the host?

So I'm running a Laravel dev site using Homestead, and but I have a python server that the Laravel instance needs to talk to, and I'd like to keep that python server on my host machine. How can I ...
22
votes
1answer
17k 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 ...
1
vote
0answers
40 views

Access development VM (Vagrant / VirtualBox) from Android phone

I'm developing a web app on my PC. My dev environment is Vagrant / Virtual Box / Ubuntu 14.4. Vagrant serves the app content on 10.0.0.101, which is mapped in my hosts file to dev.myapp.com. Inside ...
0
votes
0answers
25 views

vagrant and vbguest windows

I'm trying to start a machine with vbguest installed but i get these erros. ==> default: Running cleanup tasks for 'chef_solo' provisioner... H:/rails/Cheffile:1:in `run': undefined method ...
122
votes
4answers
50k 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
0answers
34 views

Asus X55A Laptop virtualization not working

I’m using Vagrant and VirtualBox to create virtual machine on my laptop (ASUS X55A). I tried hashicorp/precise32 successfully running. But ubuntu/trusty32 and 64 both aren’t working. In my BIOS there ...
1
vote
2answers
86 views

Vagrant/VirtualBox doesn't setup correct gateway

I can't defeat Vagrant/VirtualBox and Ansible, please help. Here is my network conf for in Vagrant: config.vm.define "mesosnode01" do |node1| node1.vm.box = "ubuntu/trusty64" ...
18
votes
4answers
13k 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
37 views

Creating a Hyper-V Vagrant box from a vhdx

i have a vhdx, i want to create a vagrant box from it. this is my vhdx after i create vagrant box and vagrant file from that box how do i create the hyper-v virtual machine from it? how do i change ...