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

how to ssh into a vagrant box when working with multi-vagrant environments?

I have two vagrant boxes (wordpress VVV and laravel homestead) running at the moment at the same time. I always ssh to the machine with putty 127.0.1.1:2222 if I run vagrant homestead first I can only ssh this one machine at once. If I halt this…
Donny
  • 19
  • 2
0
votes
1 answer

puppet stage syntax error

I have a shell script to install nodejs module packages which should be execute after all packages are installed. I defined a stage 'last' after the Stage[main] here is my code stage { 'last': } Stage[main] -> Stage[last] class npm { stage…
Adrian
  • 45
  • 1
  • 2
  • 6
0
votes
2 answers

failed to copy a shell script from host to a vagrant box

Host is Windows 8 I prepared a shell script which execute secure_mysql_installation This is the folders structure c:\myproject\ Vagranfile puppet\ files\ secure_mysql.sh mainfests\ …
Adrian
  • 45
  • 1
  • 2
  • 6
0
votes
2 answers

Keepalived loses VIP upon power cycle of master

I have two servers running Keepalived 1.2.7 with hostnames left and right. Here are the configs: # keepalived.conf on left vrrp_instance VI_1 { state MASTER interface eth1 virtual_router_id 51 priority 160 advert_int 1 …
Snowball
  • 1,503
  • 1
  • 12
  • 13
0
votes
3 answers

Ways to deliver server solution set to customers

I'm looking for ways to deliver our server solution set to customer. So that customer can easily install and experience our solution. Our server solution set includes tomcat+webapp, memcached, db solution and so on. What is a preferred way to…
0
votes
1 answer

How to change the default timeout configuration file for composer

I've been searching all over the internet and I can't seem to find any help as to where my composer's configuration file is saved to. Basically what I'm trying to do is change the COMPOSER_PROCESS_TIMEOUT=300 to COMPOSER_PROCESS_TIMEOUT=2000 as…
Code
  • 111
  • 4
0
votes
2 answers

Vagrant is creating files and folders in my project

Recently I updated Vagrant (v 1.6.3) and I noticed that in the folder of my project there are some new folders and files…
SERPRO
  • 101
  • 2
0
votes
1 answer

adding additional network adapter to use host only network with dhcp in vagrant using virtualbox provider

here's what I am trying to achieve adapter 1 runs on usual NAT add an additional adapter using the vboxnet0 host only network I have created in virtual box, this one uses DHCP server the reason I need dhcp server is because there is a logstash…
Anadi Misra
  • 527
  • 2
  • 9
  • 23
0
votes
1 answer

Vagrant muulti-vm mode configure network

Does any one know how to configure multi-vm mode to be able to communicate each VM with others. I want to deploy client-server application and my VMs can't communicate by dns without adding hosts rules.
Roman Iuvshin
  • 131
  • 2
  • 8
0
votes
1 answer

Use a LAN IP for dnsmasq

We have a single iMac in our office running a Vagrant box exposing the public IP of 192.168.1.70. Everyone in the office used to all be able to access sites on this box (which all use ".dev" such as http://domain.dev) using dnsmasq with the…
robjmills
  • 990
  • 9
  • 26
0
votes
1 answer

Unable to build_image when using Docker provisioner on vagrant

When I try to use the Docker provisioning in Vagrant config.vm.provision "docker" do |d| d.build_image "/vagrant/app" end I get the error There are errors in the configuration of this machine. Please fix the following errors and try…
Botto
  • 231
  • 1
  • 10
0
votes
1 answer

Tunnel interface inside Virtualbox IP forwarding

I am working on a solution to expose a development stack that resides inside a Virtualbox guest up to the Internet through OpenVPN tunnels. OpenVPN client fires up inside the guest VM and connects fine to an EC2 instance with a public IP. I added a…
manthis
  • 53
  • 5
0
votes
1 answer

Recreating CentOS environment with Vagrant

I have a Vagrant and CentOS related question. I'm trying to replicate a CentOS server which uses WHM/cPanel for hosting. Each site on the server is hosted in /home/$user/. This means with Vagrant I need to have a synced folder which is something…
robjmills
  • 990
  • 9
  • 26
0
votes
1 answer

puppet gitlab postgresql conflict

I#m trying to setup a VM with postgresql and gitlab. I'm using the following packages: gitlab & postgresql This is my init.pp class { 'postgresql::server': ip_mask_deny_postgres_user => '0.0.0.0/32', ip_mask_allow_all_users => '0.0.0.0/0', …
soupdiver
  • 807
  • 2
  • 9
  • 26
0
votes
1 answer

An image of my server for use with Vagrant?

Is it possible to build a box for vagrant from a real box? I have inherited some CentOS servers I'd like to use as base boxes.
Lee Goddard
  • 182
  • 2
  • 6