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
…
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…
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…
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…
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:…
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…
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…
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 = {
…
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…
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…
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…
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;
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…
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…