Vagrant is a tool to create and configure lightweight, reproducible, and portable development environments. By default, it uses Oracle's VirtualBox for these virtual environments, but support for other virtualization systems is available. Most questions about Vagrant should be asked on Super User or ...

learn more… | top users | synonyms

-1
votes
0answers
13 views

When does nginx's proxy_pass return 301 and when does it forward the request?

When using a nginx server on a vagrant (hosted by virtualbox) i used this config ... server { port_in_redirect on; listen 80 default_server; listen [::]:80 default_server ipv6only=on; root ...
-1
votes
1answer
18 views

/etc/hosts on a Vagrant multi machine setup

I'm working on getting a cluster to do my bidding and to do so they must know about each other. What I'm missing is a way of putting IP/name pairs in /etc/hosts but how do I do that during the ...
0
votes
0answers
14 views

Puphpet/Vagrant box build failing - key does not exist

I am a front end developer and rarely have to touch servers, but I need to use a Vagrant box for a project and I am having problems. When trying to vagrant up on a box obtained from puphpet, I am ...
0
votes
0answers
18 views

Is it possible to install puppet recipe on an existing system manually?

I have a Vagrant/Puppet Box configuration installing ubuntu, PHP, nginx, redis, etc ... I would like to apply same software on my current ubuntu vm with my working enviroment. I could Install the ...
0
votes
0answers
14 views

How to access Mesos DNS running on VM from host

I have a host machine (Mac OS X 10.11.1) running virtual machines through vagrant. I installed Mesos DNS on one of the nodes, and modified resolv.conf on other cluster nodes, so I can successfully use ...
0
votes
1answer
24 views

URL incorrectly redirecting to other site hosted on same server (nginx)

I have an Ubuntu VM running nginx that I'm part way through configuring for SSL. I've defined some custom local domains that I use for development, stored in my hosts file (on the host machine, which ...
3
votes
1answer
29 views

Can I install Azure SDK over command line?

I am attempting to use Vagrant to provision a Windows Server box for an integrated development environment. This environment depends on the Azure SDK. Is there a way for me to write a script that I ...
-1
votes
0answers
5 views

VBoxManage creating file in wrong directory [migrated]

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
28 views

Forwarding virtualbox VM's console output to host's console when starting with vagrant

I'm launching virtual machine with vagrant under virtual box and it silently dies: ==> appliance: Booting VM... ==> appliance: Waiting for machine to boot. This may take a few minutes... The ...
0
votes
1answer
48 views

How to assign an IP for Hyper-V virtual machine using PowerShell?

I'm working with the Hyper-v and have created a VM using Vagrant. Seems to be in the Vagrantfile I've forgotten to define an IP address (static or dhcp use). Now I can view the info about the VM's ...
0
votes
0answers
43 views

Vagrant behind NTLM proxy on windows - guest unable to connect to the host proxy

I'm on a Windows machine behind a corporate NTLM proxy and I need to vagrant up a VM from the given Vagrantfile. I've read a few things on this topic: ...
1
vote
1answer
29 views

Can't connect to WebServer inside (Vagrant) Virtualbox

I have a Vagrant Box with Virtualbox as the provider. The guest OS is Windows Server 2012 R2. I use the private network setting from vagrant with an arbitrary ip, which is unique. In the box, I have a ...
0
votes
3answers
92 views

How can I have ansible restart the ssh session after installing nvm?

nvm requires that a user logs out / back in after installation for the changes to take effect. How can I allow for this in an ansible task running via vagrant. here's what I tried: - name : Install ...
0
votes
1answer
46 views

How can I use stdout within an ansible conditional correctly?

tasks: - name: check if rpmforge installed shell: rpm -q rpmforge-release-0.5.3-1.el6.rf.i686 register: shell_output - name: Enable repo for htop shell: "{{ item }}" ...
0
votes
1answer
30 views

How can I install Development Tools via vagrant and ansible on Centos 6.7

I get this error when running my first ansible playbook (i.e. I am not familiar with ansible yet) TASK: [Install packages] ****************************************************** failed: [default] ...
2
votes
1answer
42 views

Vagrant provision : shell script install mariadb-server on Debian prompt error

I'm looking for provisioning a Debian 8.2 Virtualbox VM with MariaDB 10. I use the following : sudo export DEBIAN_FRONTEND=noninteractive sudo debconf-set-selections <<< "mariadb-server ...
0
votes
1answer
30 views

Can't run puppet with modules on vagrant

I was studing puppet and running the manifests happened without a problem but when I added modules to puppet I run into the following issue: DEBUG ssh: Exit status: 0 INFO interface: info: Running ...
0
votes
1answer
49 views

Is it assumed that if you use Ansible, you'll use Vagrant too?

I'm building a multi-server e-commerce website using Django and PostgreSQL. I'll be utilizing multiple servers (app, database, static, etc.) from Linode. Currently I configure my servers using a ...
0
votes
0answers
15 views

Errors running Chef to provision Vagrant

I'm running Chefdk, chef-provision, and chef-provision-vagrant, and I've set up a recipe to create the VM, and another to provision. I'd like to point out that I am new to Chef (I'm more of a Puppet ...
4
votes
1answer
26 views

Why are Puppet effects disappearing after Packer post-process?

I decided to learn Packer by putting together a FreeBSD Vagrant box. The whole setup is on GitHub. Everything works well until the post-processing stage. Actually, that stage likewise claims to ...
0
votes
1answer
187 views

Ansible not found in PATH after installation on Vagrant box

The Problem For a test, I set up a very simple Vagrant file. This is just to test how working with Ansible is. Sadly I am stuck at step number 2 with the following error during vagrant up --provision ...
1
vote
1answer
78 views

Ansible hangs on git clone

I am trying to setup a task that clones a repo in a vagrant box. I have setup agent forwarding properly, added the repo server in ~/.ssh/known_hosts, and have validated I can log in as vagrant user ...
3
votes
1answer
35 views

What is the “preparing” state of a vagrant machine? [closed]

When I run vagrant global-status, I see that some of my machines are in the state "preparing", which I have not seen from global-status before. What does this status mean? It seems to change to ...
0
votes
1answer
37 views

MySQL not shutting down when trying to restart

I am running a CentOS in my Vagrant box and via SSH terminal have run the following command to restart the MySQL service sudo service mysql restart The message Shutting down MySQL appears but it ...
0
votes
3answers
525 views

php56w-common conflicts with older version of php (Centos)

I am trying to update my vagrant box to use PHP 5.6, and I am basically doing the following process on the command line. sudo yum remove php* (remove PHP) wget ...
0
votes
0answers
54 views

Why do I get ERROR: Failed to run install_amazon_linux_ami_git_deps() when provisioning via salt from Vagrant?

I am unable to provision an Amazon ec2 linux instance (using the Amazon AMI) via salt from Vagrant. I get this error: The following SSH command responded with a non-zero exit status. Vagrant assumes ...
0
votes
0answers
25 views

Why does this AWS instance provisioned by Vagrant terminate as soon as it comes up?

My Vagrant provisioned AWS instance will terminate as soon as it comes up. Here's my config file: config.vm.box = "aws-dummy" config.vm.box_url = ...
0
votes
0answers
66 views

SteamCMD + Docker + Vagrant = “Login Failure: No Connection”

i`m playing around with the SteamCMD in Docker with Vagrant on a Windows Host. Building an Image works but, i can`t login to STEAM. I'm getting following Message, if i want to Login: Steam>login ...
0
votes
1answer
44 views

Hyper-V Vagrant - Running out of memory but not sure why

I understand that something is using the memory, and forcing OOM killer to kick in and start killing processes, to the point where there is nothing more to kill and a kernel panic happens. ...
1
vote
0answers
37 views

uWSGI won't start via Upstart, but starts ok from the console

I'm trying to make uWSGI run on boot using Upstart on a Vagrant box. So I've created /etc/init/uwsgi.conf with the following contents: # simple uWSGI script description "uwsgi tiny instance" start ...
-1
votes
1answer
54 views

Vagrant Set IP Syntax Error

I seem to be getting an error when trying to set a static IP on a vagrant box. Within my vagrant file I have this: Vagrant.configure(2) do |config| config.vm.box = "box-cutter/centos67" ...
0
votes
1answer
13 views

How to use the PHP within Terminal that comes with installed Vagrant Box instead of system PHP

I've provisioned a ScotchBox Vagrant Box, which is basically a LAMP stack. But I need to be able to use the PHP that comes with ScotchBox from Terminal instead of the system php How do I do this?
1
vote
0answers
29 views

Vagrant box_check_update error

I try to use a Vagrant environment. I have Vagrantfile and every other needs. I use Vagrant 1.4.3 version on Ubuntu 12.04.03. After vagrant up get following errors. vm: * The following settings ...
1
vote
1answer
112 views

Install drush using composer as vagrant user

I'm using Vagrant with Ubuntu Trusty x64. I want to automate the installation of certain packages so I used Ansible as provisioner (I'm a beginner). Drush is one of the package I want to install and ...
0
votes
1answer
71 views

Getting soap to run on a Vagrant CentOs machine

I have a vagrant machine on my local computer and I am testing an API that requires Soap. For the life of me I cant get soap to install on the machine. Checking phpinfo, I note: SOAP Brad ...
0
votes
1answer
32 views

salt stack `os:…` pattern not matching in top.sls

I'm attempting to differentiate between a Ubuntu box and an Arch box within my top.sls file within a Virtualbox 5.0.4 virtual machine managed by vagrant 1.7.4 using salt 2015.8.1 (Beryllium) This ...
-1
votes
1answer
36 views

Setting up a vagrant box from an existing vm

I am trying to set up a box from an existing vm. I started by mostly following the instructions at https://scotch.io/tutorials/how-to-create-a-vagrant-base-box-from-an-existing-one. But I didn't want ...
1
vote
1answer
38 views

Vagrant VirtualBox with many CPUs

I'm running a VirtualBox VM through Vagrant and I've noticed startup time performance decrease when adding more CPUs to the machine (Vagrant would timeout). E.g. there is a big difference in startup ...
0
votes
1answer
61 views

How to make a simple network bridge in Vagrant?

I'm trying do set up the most basic network bridge demo in Vagrant. I have two machines in the same subnet, but on different LANs, and a bridge machine with two interfaces and a network bridge that ...
0
votes
1answer
103 views

What is the best workflow to build and test your aws opsworks chef cookbooks locally?

For months I've been struggling to find the best workflow for building and testing my aws opsworks cookbooks locally prior to pushing to opsworks. After a lot of stalled attempts I found a blog post ...
2
votes
1answer
238 views

Timeout while waiting for the machine to boot!! Vagrant-Virtualbox

I have gentoo(linux) host machine. On which, I have Virtualbox 4.3.28 and vagrant 1.4.3 installed(these are the latest available version for gentoo). On vagrant up, the Ubuntu 14.04 gets launched. ...
0
votes
1answer
57 views

www-data user cannot use ruby gems

I'm trying to get a virtual server running using Vagrant and VirtualBox. For the VirtualBox I'm using scotch/box which got all the basic stuff for running a ubuntu server with some components (apache, ...
0
votes
0answers
49 views

apache2: HTTP 200, browser request: pending

I have php webpage running at apache (v2.4.7). When I refresh page in browser, 1-2 random requests are sometimes pending at browser. However when I check apache access.log requested files has HTTP ...
2
votes
1answer
180 views

Vagrant + VirtualBox + X11 on a headless server

I'm trying to run a VirtualBox Ubuntu VM via Vagrant on a headless server. The VM has ubuntu-desktop package installed, however when the machine boots up I can't open X applications. DISPLAY ...
0
votes
0answers
62 views

PostgreSQL Installation on Vagrant box with symbol linked config file

I have installed PostgreSQL 9.4 on Ubuntu Trusty 64 Vagrant box. The PostgreSQL config file are sitting on my Windows hosts and linked into Vagrant box by Vagrantfile. The PostgreSQL config files ...
1
vote
1answer
62 views

virtualbox ansible and PHP

I am trying to install Centos-7 on Ubuntu vivit in Virtual Box using Ansible. I get through a large amount of configuration and set up before it fails with the message below. I have searched for ...
3
votes
1answer
200 views

start on vagrant-mounted (upstart) equivalent in systemd

I have a Vagrant box running Ubuntu 15.04, which has an upstart script that starts a service when the system boots. It has a start on vagrant-mounted stanza because the service requires that the ...
1
vote
1answer
207 views

How do you reset vagrant back to it's original state?

Ran "vagrant up" and did some changes. Want to go back to a clean installation. How do you reset vagrant back to it's original state? Do you run "vagrant destroy" and then "vagrant up" or do you ...
0
votes
1answer
64 views

Cannot access supervisor web interface on guest machine from host

I set up an ubuntu virtual machine using Vagrant. In my Vagrantfile, I have configured a private network like in the example: config.vm.network "private_network", ip: "192.168.33.10 In ...
0
votes
0answers
250 views

Can't connect to the data port with FTP server running in Vagrant (passive mode)

I want to connect to Vagrant via FTP and the data connection is failing. I can actually connect and login, but when trying to enter passive mode and list the remote directory, the DATA connection ...