Skip to main content

All Questions

Tagged with
6 votes
3 answers
9k views

Vagrant hangs on SSH auth method: password

I’m trying to load a VM via Vagrant. It’s my first time attempting anything like this. I'm using Windows 10 64bit and trying to run my MS Server 2016 standard. I created a new VM in VirtualBox and ...
1 vote
1 answer
2k views

VBoxManage gives error importing appliance

I was following along in a RHCSA labs course and ran into the following error I can not seem to get past. I know someone else who successfully ran through the installation so I am curious what is ...
1 vote
2 answers
4k views

How can I sync folders stored within WSL2 to VirtualBox guest?

I have switched from WSL1 to WSL2 and moved my project files inside WSL2 as is recommended for performance reasons. I have VirtualBox installed on the Windows side (CentOS 7 guest) and Vagrant ...
0 votes
1 answer
456 views

How can I preserve content in shared/synced vagrant directories on exported / packaged box?

I am trying to export a machine I created with vagrant to either an OVA file for Virtualbox or a package to host in vagrantcloud. The machine exports successfully, but then when I start it up, the ...
2 votes
0 answers
450 views

How do I package a bridged network VirtualBox box in Vagrant?

When I try to package a VirtualBox with bridged networking, it loses the bridged network attribute and always reverts to NAT. Not even the 2nd interface is bridged network. I tried the Vagrant Google ...
1 vote
1 answer
244 views

i want to reuse vagrant after i shutdown ubunto in Vertual box :

$ vagrant init Vagrantfile already exists in this directory. Remove it before running vagrant init. I want to use the existing file
2 votes
2 answers
7k views

How to share (config.vm.synced_folder), directories between Windows 10 and CentOS7 Virtual Machine created using Vagrant and VirtualBox

I'm trying to create a VM CentOS7 using Vagrant (2.2.3) and Virtual Box (6.0.4), on Windows 10 using the following Vagrant file Vagrant.configure("2") do |config| config.vm.box = "bento/centos-7" ...
5 votes
1 answer
4k views

Vagrant virtual machine automatically halting when laptop is put to sleep

I’m using a Vagrant box (running in VirtualBox) I got from a third party and it always automatically shuts down when I put my MacBook Pro to sleep. When I wake up my laptop I need to run vagrant up to ...
0 votes
1 answer
4k views

Virtualbox and Vagrant network configuration Windows 8.1

I'm trying to access a website on a vagrant box (Laravel Homestead) through port 8000 on my host but it always gives the ERR_CONNECTION_REFUSED error on Chrome and IE. I have tried multiple setups, ...
22 votes
7 answers
46k views

SSH Basics on Vagrant VMs

I'm building a vagrant machine (Ubuntu 12.04) with the following requirements: SSH access via Vagrant to a user with sudo-privileges. I've generated public/private keys (via ssh-keygen) on the host ...
1 vote
1 answer
218 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 ...
8 votes
4 answers
19k views

Truly delete all traces of a Vagrant machine

How do I remove all traces of a Vagrant box without having to go into the file system manually? I am creating a custom box using Packer, building and destroying a lot of test cases. When finished ...
1 vote
0 answers
165 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::...
9 votes
6 answers
19k views

How do I reboot a Vagrant guest from a provisioner?

Relative newcomer to Vagrant here, trying to eliminate going through the install process manually every time I want to spin up a new Ubuntu VM. My usual process, after completing the install, is to ...
1 vote
1 answer
221 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 ...

15 30 50 per page
1
2 3 4 5
19