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

CentOS 6.7 can not install php-pecl-memcached module

I have a Vagrant box using CentOS 6.7 with PHP 5.6 and Apache 2.4. I have installed the memcached server, checked if it runs echo stats | nc localhost 11211 but when trying to install the Memcached ...
0
votes
0answers
8 views

Vagrant hangs at first Remote connection disconnect. Retrying

I have searched and found a bunch of questions regarding multiples retries of the Remote connection by Vagrant. 1, 2, 3. But my problem seems to be totally different and I can't find any reference to ...
0
votes
1answer
8 views

One vagrant command to create and provision machine whether machine is created or not?

When my VM is not created, I can run: vagrant up or: vagrant up --provision but not vagrant provision, because of the warning: VM not created. Moving on... When my VM is created, I can run:...
-1
votes
0answers
7 views

How to output progress indicator in a better way for vagrant?

I've the provisioning vagrant script which is downloading certain assets using wget and curl, however when it's doing it (vagrant provision), it displays a lot of information into standard error (red ...
0
votes
0answers
10 views

Different memory configuration for Vagrant machine instances

I am using VirtualBox as my vagrant provider. I need to launch a few boxes and the memory allocation will need to vary. Is there a way to specify in a multi-machine config file so that there is a per-...
1
vote
1answer
11 views

How to create a vagrant box in a remote server

I've been using vagrant since a few months to test server configurations (with ansible). At work we have some spare internal servers that I would like to use for our continuous integration system. ...
0
votes
1answer
37 views

Server allows logging in without supplying a password and no ssh keys were exchanged, what could be the reason?

I'm trying to secure an outbound server with Google 2FA solution. For the time being, I'm first configuring everything on a local Vagrant machine and once everything works as intended I'll run it as ...
0
votes
0answers
17 views

VBOX_E_FILE_ERROR during vagrant destroy

(Interesting that I got a pop-up message relating to virtualbox being off topic. After reading: In what circumstances should VirtualBox questions be on topic? I decided to post my question here.) ...
0
votes
0answers
23 views

Chef and MySql: Error setting data_dir

I am trying to setup Mysql server 5.6 on Ubuntu 14.04 using Chef 12, testing using Vagrant It all goes fine till i try to set the data_dir to a custom value (It was working fine with the default ...
0
votes
0answers
11 views

cannot login to mysql root from vagrant, but can from sudo

I just reinstall mysql, which is now running 5.7.9. I'm using vagrant. I try to login to mysql with mysql -u root -proot and I get: ERROR 1698 (28000): Access denied for user 'root'@'localhost' I ...
0
votes
1answer
29 views

Vagrant: inaccessible from host [closed]

I set my vagrant configuration to add Bridge networking to my VM. config.vm.network "public_network" When I try to use the assigned IP address that I got from ifconfig to ssh it says connection ...
0
votes
1answer
305 views

Getting “Can't create/write to file '/var/lib/mysql/is_writable'” using docker (inside vagrant on OS X)

I am trying to use docker-compose/docker inside a vagrant machine hosted on OS X. Running 'docker-compose up' always fails with mysqld: Can't create/write to file '/var/lib/mysql/is_writable' (...
0
votes
0answers
15 views

Automatically booting tomcat server with vagrant up

I'm toying with setting up a vagrant box of our tomcat-based app so that we have safe, pre-configured, re-usable environment for other employees to toy with. I need to boot the tomcat server after ...
0
votes
0answers
30 views

NPM Permission Denied Exit Status 126

I am running a node process inside of vagrant and am getting a ELIFECYCLE (Permission denied....exit status 126) error when I run the command: NODE_ENV=production ./node_modules/babel-cli/bin/babel-...
0
votes
0answers
48 views

Vagrant Scotch Box Change Webroot

Recently I've been experimenting with vagrant and I want to match the development environment as closely as possible with the production environment. I want to change the document root to my home ...
0
votes
0answers
70 views

Jenkins 2.x disable initial admin setup

we're using Jenkins as a cron server adding/starting crons via api. We created a vagrant box installing the jenkins. Since version 2.0 jenkins require to create an admin account (link) before disable ...
1
vote
0answers
27 views

In Vagrant, how can I use synced folders with multi-machine?

I don't know how Vagrant synced folders are implemented, and the documentation doesn't really say, so I'm not sure if this is something that's workable. I have a web app that I run under Vagrant, and ...
-1
votes
2answers
39 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 network....
1
vote
0answers
22 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
225 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
29 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: http://imgur....
0
votes
1answer
30 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
vote
1answer
24 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( '../..', '/home/deploy/sosd/...
0
votes
1answer
10 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
49 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
33 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 = '/home/deploy/sosd/...
0
votes
1answer
85 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
59 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
30 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
95 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
67 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
196 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
215 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
29 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
43 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
43 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
47 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
146 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
23 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
99 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
45 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
40 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
49 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
240 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
169 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: http://runefs.com/2014/11/28/setting-up-...
1
vote
1answer
86 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
338 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 ...