Questions tagged [vagrant]

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 Stack Overflow.

Vagrant is a platform independent tool written in Ruby, 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. Lots of information and very good in-depth documentation can be found on the homepage: Vagrant - Virtualized development for the masses.


Footnote:
Please refer to Meta.SF for some background on the recommendation why questions regarding vagrant are likely to get a better reception and possibly more answers on StackOverflow than on ServerFault.

454 questions
0
votes
1 answer

Migrate vagrant Ubuntu VM to physical machine

I am attempting to use vagrant and a puppet workflow to configure a Ubuntu production server VM which will host a web application. I want to be able to reuse this workflow to configure multiple identical VMs in the future. After the VM is…
andrsnn
  • 165
  • 6
0
votes
2 answers

Installing Docker with Vagrant fails because of ssh command behind proxy

I'm playing around with a Vagrant file on a machine which is behind a proxy. At the moment I stick in an issue where I'm assuming that has to do with the proxy server between. The following SSH command responded with a non-zero exit status. Vagrant…
Clueless
  • 33
  • 1
  • 1
  • 5
0
votes
2 answers

Apache virtual host is being ignored in Vagrant box

The issue I'm having is that when I visit http://d7.subdomain.example.org from my host machine, it takes me to the default apache It Works page. I'm on a Mac host with a Ubuntu 12.04 Vagrant box with virtualbox provider. I've checked sites-enabled/…
CR47
  • 103
  • 1
  • 1
  • 5
0
votes
1 answer

mina deploy failed from Vagrant Ubuntu/trusty32

I'm new to rails. Have spent this whole morning trying to debug this strange problem. I am trying to deploy my rails application using mina to a staging server. My server is Ubuntu/trusty32 14.04 running with Vagrant VM. And the server I'm trying to…
hassansin
  • 278
  • 3
  • 9
0
votes
1 answer

Can't use chef-zero with vagrant files

I have a Vagrant (1.7.2) set up with 2 vms. I want to use chef (latest version now 12?) to provision them. I am trying to get one to be a nagios server and the other to be a machine monitored with nagios. When using the built in chef-zero vagrant…
Amandasaurus
  • 31,471
  • 65
  • 192
  • 253
0
votes
1 answer

Virtualbox Appliance: Maintain same Private IP as used with Vagrant

I have an OVA which I created in conjunction with Vagrant. I want to distribute the OVA, but when people start it up I want to have the same Private IP address assigned by Vagrant. So far I've had no luck. Any recommendations on how to export an…
bcollins
  • 113
  • 5
0
votes
3 answers

CHMOD to make directory writable by group not working

I'm trying to make the node_modules directory writable by www-group, but chmod isn't working. vagrant (user) is part of the www-data group as seen with the groups command. Why can't I permit www-data (group) write permissions to this…
Jack
  • 11
  • 1
  • 2
0
votes
1 answer

Gem installation on vanilla ubuntu fails - EACCESS

I'm trying to install the Middleman gem on a completely generic installation of Ubuntu Trusty (i386). Here's my console input/output: vagrant@vagrant-ubuntu-trusty-32:~/rj$ which ruby /usr/bin/ruby vagrant@vagrant-ubuntu-trusty-32:~/rj$ ruby -v ruby…
0
votes
1 answer

How can I specify an environment for salt's top.sls file from Vagrant?

I want to use Vagrant to deploy a range of boxes with salt. I've looked through all the available Vagrant salt options available in salty-vagrant (now built in) and I can't see any that would let me specify which "environment" to use, as referenced…
0
votes
1 answer

MariaDB 10.0 / Docker / Vagrant - Sub-process /usr/bin/dpkg returned an error code

MariaDB 10.0 does not install properly when using Vagrant, Docker and other virtualised services. $ DEBIAN_FRONTEND=noninteractive apt-get install -y mariadb-galera-server Setting up mariadb-galera-server-10.0 (10.0.14+maria-1~trusty)…
SleepyCal
  • 113
  • 6
0
votes
1 answer

Apache + mod_ssl (on Vagrant) HTTP connection works fine, HTTPS connection times out

Introduction Hi guys, this is quite a strange one that I've been battling with for a few hours now. I have a CentOS Vagrant box with a network adapter attached to my NAT (as opposed to host only). I have the following ports forwarded, which I've…
Will Morgan
  • 125
  • 6
0
votes
1 answer

How to make sudo -u not require password

I'm using ansible with vagrant and ansible is trying to sudo as postgres user to run some postgres commands. Ansible running as vagrant user seems to run something like sudo -u postgres psql This fails with error message Missing sudo password I ssh…
Max
  • 167
  • 2
  • 5
0
votes
1 answer

how to configuring vagrant to allow some specific IP to be available on a windows machine?

I have Vagrant installed on my windows machine. I am using putty to ssh to the ubuntu machine. Lets say that I need some specific service (let's say a graphite for stats) which should be reached with an IP address to access the GUI of that service.…
Donny
  • 19
  • 2
0
votes
2 answers

Chef freezes on vagrant centos box

I have a centos-6.5 box. Strangely it freezes when I try to request its provision by chef. Here's a sample of what goes when I try to vagrant provision --debug it [2014-10-10T20:33:33+00:00] INFO: Processing…
0
votes
2 answers

ssh into virtual machine (or direct VM console access)

I am trying to launch multiple VMs and need to have a direct console access (whether through ssh etc.) So, far I can launch multiple VMs using virsh/KVM tools. How I do it is that I just have one template dumped xml config file and create VMs.…
user3237784
  • 1
  • 1
  • 2