Questions tagged [vagrant]
Vagrant is a tool for building and distributing virtualized development environments.
556 questions
2
votes
0
answers
21
views
How to create an Ubuntu VM using Parallels Pro with Vagrant and Ansible with a HD size of 128GB?
I am using Vagrant and Ansible to create a Ubuntu VM in parallels pro. I want the hd for the ubuntu vm to be 128gb.
My folder structure is:
$ tree ubuntu ...
0
votes
0
answers
82
views
Why does a Kali Linux VM refuses to ping my other VMs for more than 10 seconds, using intnet?
I'm running some machines for some pen-testing. It seems Kali Linux in particular is quite annoying, as it disconnects weirdly after some time> I boot the VM, logged in, ping 192.168.50.103 and I ...
1
vote
0
answers
57
views
How I can reduce the Vagrant image size to a normal size? [duplicate]
One of my Vagrant images has a displayed size of 33 PB (!), but it should be only 60GB. Also the partition, which the file contains is only 600GB. So it should not fit and it seems a problem of the ...
0
votes
0
answers
91
views
Is NFS possible with QEMU Vagrant Alpine on a macOS M1 (ARM)?
I am having a Setup issue while trying the following approach:
macOS M1 Host
Vagrant (Alpine + ubuntu2204) + QEMU as:
vm1 = "vm1"
vm1_ip = "172.28.128.21"
Vagrant.configure(&...
1
vote
1
answer
744
views
Why am I unable to launch Virtual Box via Vagrant on macOS?
I'm going to use Vagrant for the first time. I am using an M1 Mac.
My vagrant up command is failing with below message:
vagrant up
Bringing machine 'app' up with 'virtualbox' provider...
Bringing ...
2
votes
0
answers
481
views
VirtualBox/vagrant VM can't mount shared folders after unexpected host reboot
Context: Windows 11 host, CentOS 7 guest, Vagrant box that has been mostly unmodified for a long time. (I'm gradually building a brand new Debian VM, but it's not ready for use yet and I don't ...
0
votes
0
answers
55
views
What are the Vagrant limitations for VMware disks with snapshots?
The docs are a bit cryptic about this:
If snapshots exist for a VM, disk functionality will be limited.
What limitations does Vagrant impose exactly on a VMware VM that has snapshots?
1
vote
0
answers
455
views
Vagrant on macOS failing to mount NFS
I am using a MacBook Pro M2 running macOS Sonoma.
My vagrant project to find that the NFS mount is failing. I have two vagrant VMs; a development one where I develop my VM setup, and a production one ...
1
vote
1
answer
569
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 ...
0
votes
1
answer
1k
views
Vagrant in WSL2 unable to run Windows 11 'cmd.exe'
Would appreciate help in using Vagrant and Ansible to spin-up and provision virtual servers managed by Hyper-V on Windows 11. Currently, I have the latest version of Vagrant (2.4.0) installed on both ...
2
votes
0
answers
350
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
515
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
1
answer
433
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
2k
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
195
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....