All Questions
Tagged with virtualbox vagrant
275
questions
1
vote
1
answer
215
views
How to allow communication between two Vagrant VirtualBox VMs?
I am trying to build a k3s cluster. To test my Ansible setup script, I want to set up a small sandbox with vagrant.
However I can't figure out how to communicate between two VMs.
The Vagrantfile I ...
1
vote
0
answers
163
views
Stuck at Vagrant connect to SSH
I am using Vagrant 2.3.4 and Virtual Box 7.0.8 to setup VM box eurolinux-vagrant/centos-stream-9 9.0.37 on Windows 10.
After using vagrant up, I have faced the SSH issue with this log:
Net::SSH::...
1
vote
1
answer
220
views
Vagrant cant provision vm with debian/bookworm64 ssh authentification failed
I am trying to start up a VM with this box "debian/bookworm64" but it timeouts during the ssh authentification. I've used the same Vagrantfile with ubuntu/focal64 and there it just works. I ...
0
votes
0
answers
50
views
Can't set all parameters in usbfilter with vagrant on virtualbox
I've only been using vagrant for a month or 2, but am running into an issue with the usbfilter parameter setting. I'm trying to set the product. I can successfully set other options (say the productid,...
0
votes
1
answer
248
views
Vagrant up fails with VMware provider
When execute vagrant up, getting this error
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
/sbin/ip -o -0 addr | grep -v LOOPBACK ...
1
vote
2
answers
622
views
Vagrant: How to mount Linux shared folder in Windows
Host System: Ubuntu Linux, Guest system: Windows (any version).
I want to share a Linux folder on a Windows system.
When I use VirtualBox, I configure all the settings through the GUI. The Shared ...
1
vote
1
answer
108
views
Why my private IP is not within the allowed ranges?
My Vagrantfile
config.vm.network :private_network, ip: "172.16.0.22"
config.vm.provider :virtualbox do |v|
v.customize ["modifyvm", :id, "--cpus", 2]
v....
0
votes
0
answers
209
views
Vagrant/Virtual Box vm only works if Virtual Box GUI is open
Vagrant version 2.3.7 and Virtual Box 7 and Windows 10 Host. I'm trying to vagrant up the machine with Ubuntu/focal64 box, powering it off for the first time it, but it just doesn't work. It gets ...
0
votes
0
answers
74
views
For some reason my Vagrantfile creates errors
Error messages
PS D:\Users\user\Desktop\nxbt> vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Checking if box 'generic/ubuntu2010' version '4.2.16' is up to ...
2
votes
0
answers
128
views
Multi Machine Vagrant Setup Only Creates One VM of Two
The below VagrantFile should create 2 VM's, however when running vagrant up only 1 VM goes up (this appears to be semi randomly selected between the 2). After whichever VM goes up first, I get a ...
2
votes
1
answer
552
views
Access Denied Error when executing VBoxManage during Test Kitchen's kitchen converge Ubuntu 22
I am encountering an error while trying to execute the kitchen converge command in Test Kitchen (v3.1.0) for my infrastructure testing. The error occurs during the creation of a virtual machine using ...
2
votes
1
answer
508
views
Vagrant + Virtualbox on Debian Bullseye
I've got Debian Bullseye installed on my computer and I want to play a bit
with Vagrant. Unfortunately, I stumbled upon two problems that at first sight
are not related, however in order to give full ...
1
vote
0
answers
653
views
Vagrant Error: The guest machine entered an invalid state while waiting for it to boot. (Macbook pro M1)
I'm using Vagrant for the first time and when I run the command vagrant up --no-provision it runs for a few second and then it gives me this error
The guest machine entered an invalid state while ...
0
votes
1
answer
560
views
Provide internet access to VM in private network through another VM
I have use vagrant to defined 2 VMS (FW and server).
FW has 2 nics: 1 public network with an IP from my LAN and 1 private network
server has 1 nic: private network.
I am trying to provide internet ...
0
votes
1
answer
125
views
Vagrant + Virtualbox cannot `sharedfolder add` during VM provisioning
I am automating the provisioning of a custom Ubuntu Server 22.10 (custom-built with packer) in Virtualbox using vagrant. During provisioning I get the following error:
2023-01-12T07:39:14.671+0200 [...