Questions tagged [vagrant-windows]

The windows version of the vagrant tool.

The windows version of the vagrant tool.

Tutorial.

258 questions
5
votes
1 answer

Guest ip is unreachable under Vagrant using private network

I have next vagrant file on my windows host Vagrant.configure(2) do |config| config.vm.provider :virtualbox do |v| v.customize [ "modifyvm", :id, "--memory", 1024, "--cpus", 1, ] end …
Nawa
  • 1,766
  • 6
  • 22
  • 48
4
votes
2 answers

windows host + vagrant + kubectl port-forward: stuck inside vagrant

I am using a windows laptop where a vagrant box is installed, where I have a kubectl client that manages some external kubernetes cluster. For debugging purposes I would like to do a port-forwarding via kubectl and access this port from the host…
peez80
  • 1,365
  • 1
  • 12
  • 28
4
votes
0 answers

Vagrant not working - timeout while waiting for the machine to boot

I have installed the latest versions of Virtualbox v.5.2.6 and Vagrant v.2.0.1 on the windows machine with the Intel-Core-i5-4210U-Processor @1.70Ghz 2.40Ghz. I have added the homestead box by running the command: vagrant box add…
Leff
  • 1,744
  • 11
  • 63
  • 133
4
votes
1 answer

Unable to install vagrant plugin due to SSL_Connect error

Hello so I am trying to install a vagrant plugin but I getting the following error in mingW64 $ vagrant plugin install vagrant-winnfsd Installing the 'vagrant-winnfsd' plugin. This can take a few minutes... Vagrant failed to load a configured plugin…
GetBackerZ
  • 408
  • 4
  • 12
4
votes
1 answer

Increase memory of a particular vagrant box

I have this Vagrantfile. Here I defined the memory to be 2048 for all VMs. But I want my puppet master to have 4096 and agents to have 2048. How to do that? Vagrant.configure("2") do |config| config.vm.synced_folder ".", "/vagrant", type:…
4
votes
1 answer

Vagrant unable to mount shared folders - No such file or directory

I have this Vagrantfile Vagrant.configure(2) do |config| config.vm.box = "ubuntu/trusty32" config.vm.hostname = "app.local" config.vm.network :private_network, ip: "192.168.20.20" config.vm.synced_folder ".", "/vagrant", :mount_options =>…
ali
  • 10,569
  • 20
  • 77
  • 128
4
votes
2 answers

Can I use `vagrant box update` while already having the machine running by `vagrant up`?

I have some projects in Laravel, and when I have to give some maintenance to them, sometimes when I run vagrant up, it warns me up that I have a newer version of the laravel box, homestead, like the message below: A newer version of the box…
giovannipds
  • 1,756
  • 1
  • 20
  • 30
4
votes
3 answers

VBoxManage: error: Failed to create the host-only adapter (II)

This error has previously been reported in post: VBoxManage: error: Failed to create the host-only adapter and it keeps reoccurring for new versions of Windows/vagrant/OracleVB as described below. If anyone has identified a solution to this problem…
AHL
  • 600
  • 3
  • 8
  • 28
4
votes
2 answers

Accessing Node.js app on Vagrant via SSL/TLS connection

So I inherited a Nodes.js app which I am running on a Vagrant box. I have the app binding to "0.0.0.0", and it has its own server.key and certs in the securekey folder. var https = require('https'); var fs = require('fs'); var ssl_options = { …
evkwan
  • 653
  • 2
  • 9
  • 16
4
votes
2 answers

Vagrant runs wrong provisioning file when booting multiple machines

I have the following vagrantfile, which specifies 2 machines - the frontend and the backend box. Vagrant.configure(2) do |config| config.vm.box = "frontend" config.vm.network "private_network", ip: "192.168.0.5" config.vm.provider…
BlackSpy
  • 5,183
  • 3
  • 25
  • 35
4
votes
0 answers

an established connection was aborted by the software in your host machine vagrant

I am going to make my local vagrant machine online, i have done vagrant login successfully, but when i am trying to share my vagrant with command "vagrant share" its giving me error. error is attached as screenshot. screenshot 1 screenshot…
Asif
  • 89
  • 1
  • 9
4
votes
3 answers

Vagrant - how to detect windows host RAM and CPU

I'd like my vagrantfile to automatically set CPU and RAM based on the host specs. I found this snippet: config.vm.provider "virtualbox" do |v| host = RbConfig::CONFIG['host_os'] # Give VM 1/4 system memory & access to all cpu cores on…
Mentor
  • 769
  • 5
  • 17
3
votes
4 answers

fwrite(): write of XX bytes failed with errno=5 Input/output error

I had 2 similar questions before, however after more debugging I came to the conclusion the problem was (probably) not within my own code. In my code I am trying to unzip a gzipped file, for this I wrote a small method;
frogeyedman
  • 362
  • 1
  • 2
  • 17
3
votes
4 answers

Failed to create the host-only adapter

I have the problem with vagrant up on my system. I have the error, you can see below. I have tried reinstall VBox, Vagrant, turned of the firewall, сhecked VBox networking driver and restarted host system, but it`s dont working. Thanks all for…
3
votes
2 answers

Vagrant up fails with Warning: Remote connection disconnect. Retrying

Upgraded to vagrant version 2.1.1 and latest centos/7 (virtualbox, 1803.01) and $vagrant up now fails to build just after the new key is loaded. The Vagrant file being used has run fine on previous versions of vagrant (2.0.3). Interestingly I am…
Melamber
  • 41
  • 1
  • 6
1 2
3
17 18