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

0
votes
0answers
7 views

Vagrant Public Network, IP, Using .dev [migrated]

My end goal is this: Create a public networked Vagrant box with Computer1 that is accessible via LAN/Wi-Fi with a local domain like example.dev. First off, I have read this question on Vagrant Public ...
-1
votes
2answers
35 views

Local network for websites

I'm a student doing an internship at the moment. I mainly develop websites using virtualbox and vagrant. I was wondering if i could like make the websites i build accessible for everyone in my ...
1
vote
0answers
9 views

Forward ssh port to 22 in Vagrant

I have several global IP addresses on my eth0 interface. In my vagrant file I specified on of this IPs as public_network: config.vm.network "public_network", ip: "xxxx.xxxx.xxxx.xxxx" When vagrant ...
0
votes
1answer
28 views

Can't start docker on Ubuntu 14.04: Job failed to start

I'm trying to installed Docker on a Vagrantbox with Ubuntu 14.04 using the instructions on the official website (Docker Docs). The installation seemed to work, but afterwards I can't start the docker ...
1
vote
0answers
13 views

Vagrant, Apache and FastCGI uses huge cpu

I cannot really grasp why it's so slow. Site loads really slow. And vboxheadless hits more than 100% cpu every request. I use 2048 memory and 1 cpu. Here is activity monitor and top: ...
0
votes
1answer
26 views

Node.js module won't reinstall using puppet / vagrant

Previously I had a similar configuration to this working but as soon as I added hiera to my puppet build I started having problems. The error I currently have after running vagrant provision is as ...
-1
votes
0answers
3 views

Virtualbox Guru Meditation error when starting an Ubuntu 16.04 guest on OSX host using vagrant [migrated]

Host OS version: OSX El Capitan 10.11.4 (15E65) Virtualbox version: 5.0.18r106667 Vagrant version: 1.8.1 My vagrantfile looks like 1 Vagrant.configure('2') do |config| 2 config.vm.box = ...
1
vote
1answer
11 views

vagrant rsync is failing to chown

I'm using an synced folder on vagrant 1.8.1 and I want it to chown the files, but it doesn't seem to take effect. This is my synced folder: config.vm.synced_folder( '../..', ...
0
votes
0answers
18 views

Vagrant: Multiple VMs, static IPs, different subnet than host. - Can't ping/ssh [on hold]

I'm currently running a set of Vagrant VMs in the same subnet as the host machine using this setting: config.vm.network "public_network" That's not a solution anymore though because there are not ...
0
votes
1answer
7 views

Is there a vagrant cli way of completely rebuilding a vagrant box while saving the old one?

I tried vagrant snapshot push vagrant destroy vagrant snapshot pop But of course the VM is gone so that won't work. The problem is that if I want to debug provisioning from scratch then I don't ...
1
vote
0answers
24 views

Vagrant can mount shared folders upon first launch, but cannot mount if restarted

Being running into very strange issue with vagrant. I don't have any custom folders shared right now. By default, vagrant mounts its containing folder to /vagrant path of the guest. At the first ...
1
vote
0answers
7 views

Can I get vagrant ansible_local to provision locally without specifying the inventory_path?

Currently I end up with a host file that has: [sosd] controller ansible_connection=local Then in my Vagrant config.vm.provision :ansible_local do |ansible| ansible.playbook = ...
0
votes
1answer
29 views

vagrant 1.8.1 doesn't seem to install ansible when it's specified in ansible_local

My provisioner is like this: config.vm.provision :ansible_local do |ansible| ansible.playbook = '/home/deploy/sosd/local/ansible/sosd.yml' ansible.install = true end But on vagrant up it seems ...
1
vote
1answer
27 views

Install virt-sysprep on Ubuntu 14.04

I'm using vagrant with vagrant-libvirt and I want to create a package via the command-line: vagrant package --output ubuntu14-base.box I've got an error around virt-sysprep being absent (confirm ...
0
votes
0answers
20 views

Cannot access webserver on host machine using Vagrant and Apache [duplicate]

I installed Vagrant and installed CentOS7 with apache, when i tried accessing the web server using browser (localhost:8080), it keeps showing the status "waiting for localhost" and never render the ...
0
votes
0answers
16 views

Git GUI on Windows not seeing .git folder from Samba share

THE SCENARIO I am using Vagrant,Windows environment and running Ubuntu inside the virtual box for my development work. I have setup an instance of Samba server and I run the I access the virtual ...
2
votes
1answer
32 views

Ansible ignores it's configuration file (ansible.cfg), what could be the reason?

I'm running Vagrant 1.8.1 and ansible 1.8.4 on Mac OS. I've started 2 Ubuntu machines on vagrant: itais-MacBook-Pro:ansible-dir itaiganot$ ./dev/hosts --list | jq '.' { "web": [ "web" ], ...
0
votes
0answers
33 views

Elastic not accessable when using nginx as proxy on vagrant using hostname

I have trouble to get access to an elasticsearch instance with the ElasticHQ Plugin. I'm using a self created vagrant box based on Debian 8.3. I've added the nginx from dotdeb and the latest version ...
0
votes
1answer
105 views

How to debug “Select and install software” issue with unattended Ubuntu install (14.04)

I am using Packer to build a VirtualBox image for Ubuntu 14.04. I have a Packer script here, which used to work, but then for some reason (and several VirtualBox updates later) started failing. The ...
0
votes
2answers
135 views

Terraform, how to provision droplet with salt-minion (masterless)

I've managed to get a local development server running with Vagrant, provisioning it with Salt in a masterless configuration. Now, I'm trying to take advantage of the existing salt states to provision ...
1
vote
0answers
23 views

How do I set up omnibus builder environment on vagrant centos box using chef?

I need an omnibus builder box for building a python cli package. I would like to use this cookbook, on this vagrantbox I am running this as root since the omnibus installer needs to check something ...
1
vote
1answer
29 views

Vagrant Puppet apply manifest with wrong environment

I use Puppet 3.7 in standard client-server mode, with environments, and using Hiera for data. I use Vagrant to test the Puppet manifests directly from my Puppet repository. I recently started to use ...
1
vote
1answer
34 views

Chef recipe not working

I am working on chef and vagrant. I am trying to configure nginx with php-fpm and spin-up new server using chef-solo. Here is the configuration of my vagrant file. Vagrant.configure(2) do |config| ...
2
votes
1answer
37 views

Testing a puppet master with vagrant

I'm new to puppet. I read a bunch, managed to write a simple (and probably clumsy) manifest to configure a host together with a similarly simple fabric script to deal with pre-puppet setup. Great, ...
1
vote
1answer
124 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
22 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
1answer
68 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
41 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
38 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 ...
0
votes
0answers
43 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
162 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
1answer
110 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
61 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
218 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
162 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
58 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
114 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
36 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
55 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
23 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
37 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
629 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
177 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
62 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
59 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
2k 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
82 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 ...
2
votes
1answer
59 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
124 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
63 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. ...