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

Failed to mount folders in Linux guest

Until I reinstalled my Virtual Box and Vagrant, everything worked properly. Now, config.vm.synced_folder "source/tk_dev/src/repo/app", "/home/vagrant/www/tk_dev/app" in my Vagrantfile leads to the following when typing vagrant…
Xiphias
  • 131
  • 1
  • 7
0
votes
1 answer

Start a sub provision in Salt

I need to have two project. One is to set up the server. The other is the web app. I'm trying to use SaltStack to do this via Vagrant. What I want to happen is that after the server is provisioned, I want to be able to call to the folder where…
Quantum
  • 75
  • 2
  • 12
0
votes
1 answer

Capture virtual vagrant server smtp on my actual computer

I'm running a number of virtual servers using vagrant on my computer. This is working well. I have installed Postfix to send SMTP inside these virtual servers. But what I want to do is have Postfix send the SMTP to my "real" computer (that the…
Laurence
  • 123
  • 1
  • 7
0
votes
1 answer

use ssh-agent to connect to vagrant-lxc machines

I'd like to connect to a vagrant-lxc machine using a ssh-key which is already loaded. To make it a little bit more clear, here's my setup: Load ssh-key in Windows via PuTTy connect to vagrant host machine via Putty with agent forwarding…
john.dough
  • 103
  • 1
  • 10
0
votes
1 answer

Vagrant sahara plugin - multiple snapshots

How I can make more than one snapshot when in sahara sandbox mode? Or, can I see list of all commits I've ever made and rollback to any? Why do I need all this? I just want to setup initial VM. After that I want to compile number of packages from…
BazZy
  • 101
0
votes
2 answers

Permissions error trying to dump Redis to a Vagrant shared folder

I keep getting a permissions error when trying to dump the Redis .rdb file to my vagrant shared folder. The saves are working fine when going to the default /var/lib/redis location. A few things I've tried (suggested in various forums / threads): 1)…
binaryorganic
  • 6,021
  • 4
  • 18
  • 19
0
votes
1 answer

How to provision a vagrant VM with Chef and and a .rb file filled with instructions

I probably got the whole concept wrong: I have a working Vagrant VM with Ubuntu 12.04, on top of it I want to install a few packages and config files. I have them set in Chef, in the path cookbooks/my_project/recipes I have a vagrant-dev.rb file…
Bastian
  • 283
  • 3
  • 16
0
votes
1 answer

No builder returned for name: vagrant Packer.io error

I just want to provision a standard Ubuntu 12.04 image with a shell script, and then package it so I can use it with Vagrant. This is the configuration I wrote: { "builders": [{ "type": "vagrant", "iso_url":…
Hyperfocus
  • 1,177
  • 4
  • 14
  • 23
0
votes
1 answer

Puppet Operation not permitted on owner/group change

I'm running Ubuntu 12.04 with vboxheadless 4.2.10 and vagrant 1.2.7 to provision instances on a server. When I run vagrant up I get the following errors: err: /Stage[main]//File[/var/www/example.drupal.dev]/owner: change from 110 to vagrant failed:…
digital
  • 345
  • 6
  • 13
0
votes
1 answer

Why doesn't nginx serve my 404 page under vagrant?

I have a static HTML site with a 404 page at /404/index.html. Vagrant is mapping port 80 to 9000 so I access my site at http://localhost:9000. The site is browsable, but if I try to force a 404 error I'm seeing /index.html instead. I've tried…
Brian Lyttle
  • 1,757
  • 1
  • 17
  • 17
0
votes
2 answers

Vagrant doesn't detect chef-solo unless re-installed

I am using Vagrant to test my Chef recipes in Amazon AWS, and I am encountering an irritating issue: I initially assumed that Vagrant would install chef itself (as it does when using Virtual Box as the provider) but it seems that this needs to be…
nightowl
  • 45
  • 8
0
votes
2 answers

Troubleshooting why 1 vagrant works, but another does not

A user has 2 vagrant projects in their home directory. Mac OSX 10.8 The first vagrant instance was created months ago when the user was running an older version (1.1.x), the second instance was created with version 1.2.2. (Hence the vagrant file…
spuder
  • 1,725
  • 3
  • 26
  • 42
0
votes
1 answer

Vagrant hosting service

On a small project we use Vagrant for development environments. Given the simplicity of the setup, we are considering using it for production since it's a small project with low traffic. I know I can take a classic server, fire Vagrant and re-route…
Matthieu Napoli
  • 421
  • 1
  • 5
  • 11
0
votes
1 answer

Puppet agent not starting?

I've attached the full output with debug to see if anyone can make sense of what is going wrong. I've tried removing /etc/puppet/ssl/ and the two nodes (agent and master) are able to ping each other by IP and hostname. Using vagrant. Running #…
Jordan
  • 43
  • 3
0
votes
1 answer

Enabling PDO for CLI in vagrant box precise64 (Ubuntu server 12.04 LTS)

I have vagrant box (precise64) utilizing Ubuntu server 12.04. I have installed manually (no use of LAMP) on the server the following: MySql server / MySql client - Server version: 5.5.31-0ubuntu0.12.04.1 (Ubuntu) PHP5 - PHP 5.3.10-1ubuntu3.6 with…
Shahar Galukman
  • 207
  • 1
  • 4
  • 11