Questions tagged [vagrant-windows]

The windows version of the vagrant tool.

The windows version of the vagrant tool.

Tutorial.

257 questions
5
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:…
awwwd
  • 121
  • 2
  • 9
5
votes
1 answer

"Homestead Improved" Vagrant VM - Failed to restart php7.0-fpm.service: Unit php7.0-fpm.service not found

I'm trying to get a Homestead Improved Vagrant VM instance running on Windows. See Homestead Improved on Github. I'm following this easy introduction: https://www.sitepoint.com/quick-tip-get-homestead-vagrant-vm-running/ My steps are: git clone…
Daniel Sixl
  • 2,488
  • 2
  • 16
  • 29
5
votes
2 answers

vagrant on windows error 'cannot load such file' nokogiri

I'm trying to run a vagrant up command to create a box on AWS. The vagrant file already works on my Mac now I'm trying to run on Windows. I've just installed the latest Vagrant for Windows (1.8.1) and installed the AWS Plugin. When I run vagrant up…
remintz
  • 55
  • 1
  • 4
5
votes
0 answers

How to stop vagrant from having to re-download the image on every "vagrant up" on Windows?

When I run vagrant up on Windows the first time, I expect it to download then cache the box. But if I run vagrant halt followed by vagrant up I end up having to wait 15 minutes for the machine to be downloaded and re-assembled; When I ran vagrant…
leeand00
  • 25,510
  • 39
  • 140
  • 297
5
votes
3 answers

Vagrant on Windows - any way to stop provisioning with Ctrl-C?

Very often when running ansible-playbook on the Vagrant VM from Windows, I need to stop in the middle of something by pressing Ctrl+C. This happens if ansible becomes unresponsive or there is some bug we need to fix asap, so there is no point of…
Ross
  • 1,641
  • 3
  • 15
  • 16
5
votes
4 answers

Vagrant Error on Windows 10 with Hyper-V

After upgrading to windows 10 then running: $ vagrant up We get the following error message An error occurred while executing a PowerShell script. This error is shown below. Please read the error message and see if this is a configuration error…
Mike Averto
  • 655
  • 1
  • 10
  • 16
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
  • 2,058
  • 8
  • 26
  • 48
4
votes
3 answers

GPG error public key is not available: NO_PUBKEY B53DC80D13EDEF05: during VM creation using Vagrant

I am trying to install a K8s cluster VM nodes using Vagrant and relevant install shell script (listed below). I tried some of the suggestions in similar questions, but they did not help my case. I am using virtualbox version 6.1.40 on Windows…
AnilJ
  • 1,951
  • 2
  • 33
  • 60
4
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
  • 534
  • 1
  • 5
  • 23
4
votes
1 answer

How to vagrant halt an environment by name, not by id

From the vagrant documentation: vagrant halt [name|id] Let's say vagrant global-status outputs the following: id name provider state directory ------------------------------------------------ 6e16e1a envname virtualbox running …
Yordan Grigorov
  • 194
  • 1
  • 8
4
votes
2 answers

Vagrant Up VAB: Warning: Remote connection disconnect. Retrying

Anyone know what is going on with Vagrant? Using Windows 10, VScode, Virtualbox 6.1.10 i have done googling and not found anything helpful one person said to Use config.ssh.insert_key = false in your Vagrantfile and then try. but doing so did not…
4
votes
6 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…
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,968
  • 24
  • 97
  • 201
4
votes
2 answers

How to import database into vagrant mysql?

In window cmd ,I usually do like this and it is working C:\Users\davi> mysql -u root -p mydb < D:/xampp/mysql/bin/db.sql I am new in vagrant , this is what I do in vagrant ssh [vagrant@localhost bs]$ mysql -u root -p mydb <…
Jack jdeoel
  • 4,554
  • 5
  • 26
  • 52
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,927
  • 20
  • 89
  • 138
1 2
3
17 18