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

Convenient way to restart server inside vagrant

We have a webserver, that needs nginx and other configurations, so for development we use vagrant. vagrant ssh I want to easily [re]start it, so I use single line ssh commands. vagrant ssh -c "" ...
0
votes
0answers
15 views

Is it possible to have two versions of Vagrant in Mac OS X? [migrated]

in my company we are using Vagrant 1.3 and I cannot update it because the Vagrant files we are using in our development environment are tied to that version, and they won't work anymore. I am ...
-2
votes
0answers
18 views

Setting up test environment with old computer tower to match current sever perfect. Centos Need quick guidance [on hold]

We have a Centos 6 server running our website through a dedicated host. It has Apache, PHP, WHM and MySQL configured as well as various packages. I would like to basically clone that setup and use it ...
-3
votes
0answers
21 views

error404 /cgi-sys/defaultwebpage.cgi [on hold]

I have a Mac mini I install vagrant with nginx + php on my Mac mini I set up a hostname(*.dev.com) on my Mac mini path /etc/hosts I set up a same hostname on my vagrant If vagrant IP Address is ...
0
votes
0answers
10 views

How can I preserve content in shared/synced vagrant directories on exported / packaged box? [migrated]

I am trying to export a machine I created with vagrant to either an OVA file for Virtualbox or a package to host in vagrantcloud. The machine exports successfully, but then when I start it up, the ...
-1
votes
0answers
14 views

vagrant lamp stack without vt-x ( not supported in hardware ) [closed]

I would like to get a vagrant box - lamp with laravel ready. I tried to find but most of them works only with vt-x enabled. but, I dont have vt-x in my machine in hardware. Can somebody point me out ...
2
votes
2answers
26 views

Why aren't my puppet variables getting assigned by Vagrant's puppet.facter options?

Given that the following is config'd in my Vagrantfile: puppet.facter = { 'variableOne' => 'one', 'variableTwo' => 'two' } ... and the following is in the manifest: notify{ "Got here ...
1
vote
0answers
15 views

gunicorn not fully reloading after an HUP signal

I'm trying to get a working supervisor/gunicorn/django setup on vagrant. I am using python-watchdog to try and restart gunicorn when code changes happen. I am using the following supervisor ...
0
votes
0answers
4 views

PHPStorm Error Copying Helpers

I'd previously configured PHPStorm to remote debug with Vagrant but some changes have caused a strange error. I have recently switched the Vagrant nfs to true and I have also downloaded the EAP ...
0
votes
0answers
5 views

Unable to change IPv4 properties for a VirtualBox Host-Only Adapter [migrated]

Keeps coming up with: In order to configure TCP/IP, you must install and enable a network adapter card. Using Vagrant and ScotchBox if that helps but also tried with a basic Vagrant box and same ...
0
votes
0answers
34 views

How to change the execution time of the my.ini file using Chef

I'm attempting to get an existing Drupal site set up using Vagrant Drupal Development but have come across a few problems. My first is that I cannot seem to connect to the database to import my SQL ...
-1
votes
1answer
42 views

Difficulty Installing and SSHing to Vagrant Box [closed]

I am new to Vagrant and have not been able to get it to work properly. I installed Vagrant without a problem and have Virtual Box installed and open. When I create a box (vagrant init), it seems to ...
0
votes
1answer
30 views

Vagrant duplicate IP

I'm trying to configure static IPs on 2 vagrant boxes so they can communicate with each other. With the following config, the "db" node comes up with an eth1 and eth2 with 192.168.50.4 and ...
0
votes
0answers
28 views

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 ...
0
votes
0answers
4 views

How to add a 'Host-only Adapter" to a VirtualBox machine via Vagrant file configuration? [migrated]

A lot of answers out there are only applicable version 1 of Vagrant file configuration. e.g. config.vm.network :hostonly, :adapter => 2 The new public network does not support this feature. e.g. ...
0
votes
0answers
53 views

ConEmu, Powershell, & ANSI Colors

I've just found ConEmu and am unclear on how to make ANSI colors show in a powershell session. In particular, I'm wanting to see the colored output of a vagrant up while provisioning a CentOS vm. Can ...
0
votes
0answers
48 views

“More than one MPM loaded” when trying to start apache on Vagrant Ubuntu box

Whenever I try sudo apache2ctl start I receive the following message: AH00534: apache2: Configuration error: More than one MPM loaded. Action '-k restart' failed. The Apache error log may have more ...
0
votes
1answer
36 views

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 ...
0
votes
1answer
119 views

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 ...
0
votes
1answer
30 views

Chef-solo: how can I install a package mailutils in ubuntu?

I want to install the command line mail in my ubuntu box in Virtual box. The command line will be sudo apt-get install mailutils. What is the best to achieve the same via chef-solo? I don't think ...
0
votes
1answer
30 views

Specifying config.vm.synced_folder at run time

I'd like to give the user the ability to specify the path to the folder they want to share with the Vagrant box when they provision the machine, eg via a command prompt entry: config.vm.synced_folder ...
0
votes
1answer
80 views

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 ...
0
votes
2answers
55 views

Nginx http prefixes in upstream server

I'm trying to use nginx to proxy pass to two docker containers. Here is my upstream conf file: upstream api_servers { server http://192.168.49.4:49155; server http://192.168.49.4:49156; } This ...
-1
votes
1answer
155 views

How to make sudo -u not require password [closed]

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 ...
0
votes
1answer
18 views

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 ...
0
votes
2answers
88 views

SSH tunnel (port forwarding) slow down a lot my mysql queries

I'm currently testing some configurations with vagrant (virtual box) to connect 2 servers (VM currently) together throw an SSH tunnel. The goal being to securely connect my web app to the database. ...
0
votes
1answer
108 views

Vagrant private IP not found after network change

I've got a simple Vagrant Ubuntu virtual machine setup using Virtual Box, running on a Mac. I'm using private networking, configured with a static private IP like so: Vagrant.configure("2") do ...
0
votes
2answers
145 views

Unable to ssh to a vagrant started ec2 ubuntu instance

After I ran vagrant up --provider=aws, I could see an ec2 instance being created and became up and running. However it will invariably stuck at this point ==> default: Waiting for SSH to become ...
-1
votes
1answer
76 views

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: ...
0
votes
0answers
21 views

Network error when running multiple Virtual Boxes

I have a Ubuntu 14.04 physical desktop that's running some Virtual Box instances (also Ubuntu) through Vagrant. The Virtual Box instances are configured to use static ip and with "natdnshostresolver1" ...
0
votes
1answer
112 views

pgpool run and only log one line

I am using pgpool and when I run: sudo pgpool -f pgpool.conf -F pcp.conf -n It just log one line and keep waitting.... : 2014-10-09 13:27:42 LOG: pid 28626: wd_chk_setuid: ifup[/sbin/ifconfig] ...
0
votes
2answers
71 views

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 ...
0
votes
1answer
112 views

Yum php-yaml install issues

We had an issue with an ansible playbook using vagrant - where formerly php-yaml was installing fine. Then, we were getting issues with our PHP repo: [vagrant@localhost ~]$ sudo yum install php-yaml ...
0
votes
0answers
73 views

puppet xdebug.ini not working

I install xdebug puppet Here is folder structure /myproject Vagrantfile puppet\ xdebug\ files\ xdebug.ini manifests\ init.pp This is ...
0
votes
0answers
61 views

installing drupal drush thru vagrant puppet

this is part of puppet manifest class composer { file { '/tmp/composer.sh': source => 'puppet:///modules/composer/composer.sh', ensure => present, ...
0
votes
0answers
49 views

Dovecot Replication(between CentOS vms) not working

I have the following configuration: 2 Virtual Machines(set up using Vagrant) with CentOS 7( master_1 - 127.0.0.1:2222 and master 2 - 127.0.0.1:2200). Each has installed postfix + dovecot 2.2.10. My ...
-1
votes
1answer
61 views

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 ...
1
vote
1answer
212 views

Remote automated provisioning to a XenServer Hypervisor

I'm currently working on a project where I use Vagrant with Ansible provisioning to create local environments in VirtualBox. I'm currently working with a University and we have a XenServer Hypervisor ...
0
votes
1answer
274 views

Issues installing Grunt in Vagrant environment

I am attempting to install node.js, npm and Grunt.js in an Ubuntu Trusty 64bit Vagrant environment and running into some issues. Here is my puppet manifest: init.pp -- class grunt::install { ...
0
votes
1answer
45 views

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': } ...
0
votes
2answers
43 views

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\ ...
0
votes
3answers
310 views

Exim says DNS lookup succeded, but also says “host lookup did not complete”

I'm trying to send automatic notification emails to users of my website. Those emails are sent to the users by a custom daemon that sends them via exim 4. Exim's role in this is simply to relay the ...
2
votes
1answer
203 views

Have a Vagrant VM destroy itself or power off on completion of a long-running task

I've been using Vagrant with Ansible to perform certain ETL tasks. This has provided some flexibility and transparency: jobs can be easily be moved around and the YAML playbook provides some level of ...
0
votes
2answers
85 views

How can I ssh into a vagrant virtualbox VM from an external machine?

I'm trying to set up a server on my desktop with vagrant, but while I can ssh (via PuTTY) into the VM at localhost:2222, I can't ssh into it via my local or public IP addresses - even though I have ...
1
vote
0answers
218 views

Deploy packer images on bare metal server?

How can I match my dev and production bare metal box? The hosting provider does not allow or have a process to install custom images and only provides a selection from all the latest popular ...
0
votes
0answers
47 views

Replicate server environment and directory structure using Vagrant

I am a developer by trade but am not used to configuring VM's and servers, so I apologize if these questions seem rather novice. I have recently started trying to use Vagrant for local development of ...
0
votes
2answers
89 views

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 ...
1
vote
3answers
156 views

Restarting mysql utilizing the puppetlabs/mysql module?

I have two folders -- one is 'public_modules' and the other is 'private_modules'. When I start a new Vagrant machine, the 'public_modules' folder is populated with modules as described in my ...
0
votes
1answer
1k views

Vagrant not ready for SSH error on VirtualBox and Laravel Homestead

Vagrant Version: 1.6.3 VirtualBox: 4.3.14 Ubuntu 14.04 LTS 64 Bit Hey Guys, I have been on this for a pretty good while now and cannot figure this out. I have my public and private keys setup and ...
-1
votes
1answer
127 views

Vagrant Determining IP information for eth2… failed [closed]

Im running a vagrant file to bring up a CentOS Virtual Box on OSX, but when running vagrant up it always fails at default: Configuring and enabling network interfaces... with the error: The following ...