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

Vagrant - Provisioning multitple VBox-VMs with pre-defined names

I have a bit of trouble provisioning a multi-machine setup from a Vagrantfile. VM_NAME="node" IMAGE_NAME="centos/7" Nodes=3 NodeMEM=4096 NodeCPU=2 NodeGUI=false (1..Nodes).each do |i| Vagrant.configure("2") do |config| …
C.B.
  • 21
  • 5
0
votes
1 answer

Vagrant Docker refuses connection

Stack I'm running the following: Metal Ubuntu 18.04 vagrant dockerprovider gitlab dk Expectation I'm trying to curl localhost:3000 to reach gitlab. When I do that from the vagrant box, it works: vagrant@549f682a30a4:~/gdk$ curl…
til
  • 101
  • 2
0
votes
1 answer

tried php install and show error packcage php-7.3.17-1.el7.remi.x86_64 (remi-php73)

I tried 「sudo yum --enablerepo=remi-php73 install php-pdo php-mysql」in vagrant and show Requires: libcrypto.so.10(OPENSSL_1.0.2)(64bit) error: package: php-7.3.17-1.el7.remi.x86_64 (remi-php73) Requires: httpd-mmn =…
0
votes
1 answer

Vagrantbox with Hyper-V not starting

I'm trying to setup a vagrantbox with Hyper-V on my local windows-10 mashine. My Workstation is running behind a proxy, but I configured a local cntlm proxy to get around these limitations. Proxy settings work fine since I was able to install a…
-1
votes
1 answer

Does Vagrant introduce another layer between host OS and guest OS

If I use Vagrant, does it introduce another layer of resource users inserting itself between host OS and VM? Does it always run between host OS and VMWare/Vbox? Should I provide for extra RAM / CPU if I plan on using Vagrant to facilitate extra…
ruslaniv
  • 99
  • 3
-1
votes
2 answers

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. What is the best way to do this. Im on a mac by…
Kevin
  • 109
  • 3
-1
votes
1 answer

Vagrant Set IP Syntax Error

I seem to be getting an error when trying to set a static IP on a vagrant box. Within my vagrant file I have this: Vagrant.configure(2) do |config| config.vm.box = "box-cutter/centos67" config.vm.network "private_network", ip:…
Matt
  • 11
  • 2
-1
votes
1 answer

Encountered error "in `recv': Operation timed out " when creating an aws instance with vagrant and chef

I have used the vagrantfile to create a Virtualbox instance and it did not have any issue. However when I added the switch --provider aws I got this error message: ==> server-1: Loading Berkshelf datafile... ==> server-1: Sharing cookbooks with…
Anthony Kong
  • 3,288
  • 11
  • 57
  • 96
-1
votes
1 answer

How to set up port forwarding from Windows host to Vagrant Linux VM to Docker containers?

I'm using a Windows host, running CoreOS in Vagrant with VirtualBox provider, and in that CoreOS, I have Kubernetes 0.14.2 single-node cluster running (I couldn't get latest version, 0.15, to work reliably). I have created an nginx service, as…
analytik
  • 125
  • 7
-1
votes
1 answer

Difficulty Installing and SSHing to Vagrant Box

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 work fine. Then when I typevagrant up` I get a…
matt
  • 5
  • 2
-1
votes
1 answer

Vagrant Determining IP information for eth2... failed

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 SSH command responded with a non-zero exit…
JackalopeZero
  • 201
  • 2
  • 8
-1
votes
2 answers

hiera.yaml is not loading on vagrant provision

Whenever I provision vagrant all the data is nil. When I ssh in and specify /etc/puppet/hiera.yaml as the config option i can get the values. How can I get vagrant to use the right hiera.config file? # Enable the Puppet…
-1
votes
1 answer

Using vagrant to isolate my whole environment

I want to use Vagrant to isolate my whole development environment from my system (OS X 10.9.3), and not just for a specific software project. Is Vagrant a right tool for this task, or there are better options? Thank you.
-1
votes
1 answer

Install PHP 5.3.X, PHP 5.4.x and PHP 5.5.x in the same environment using Puppet

Anyone already tried to install these three version using Puppet in Ubuntu? I have a VM that is managed by Vagrant and I want to have these three version so I can specify which PHP version I should use based on the version of Drupal I am using.
ninjascorner
  • 121
  • 1
  • 4
-1
votes
1 answer

Configuring a static IP, gateway etc with vagrant and puppet

I'm using http://forge.puppetlabs.com/razorsedge/network but I can't configure it properly. this is my puppetfile.pp class network { static { "eth1": ipaddress => "1.2.3.248", netmask => "255.255.255.128", ensure …
1 2 3
30
31