All Questions
35
questions
11
votes
2
answers
20k
views
How can I reset windows powershell/command prompt, like reset in bash?
When I use vagrant on Windows I will sometimes find that newlines aren't respected properly. This is typically after doing a vagrant ssh. So text ends up looking like
This machine with the name '...
6
votes
2
answers
19k
views
DNS not functioning on command line
I recently did a combination of Vagrant + VirtualBox stuff on my machine to try to get a virtualized Ubuntu install working. However, I had no luck with it so I just uninstalled everything. Ever since ...
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 ...
6
votes
0
answers
2k
views
How does licensing work with Vagrant Windows boxes?
Can a single Windows license be shared between a team (akin to installing on a physical or virtual server) for hosting Vagrant boxes? The Vagrant docs don't seem to address this issue and all the ...
4
votes
2
answers
8k
views
How do I sync Vagrant sync folder with VirtualBox and CentOS/Windows?
I can't get the /vagrant folder to synchronize. It will synchronize from Windows host to CentOS guest, but only if I manually run vagrant rsync or vagrant up, and will delete any new files in the ...
3
votes
2
answers
508
views
vagrant provision launches apps without ui on windows
I am trying to launch an application that needs ui on a windows box as part of "vagrant provision". I can see that the app is launched as the vagrant user in task manager but I see no ui on the screen....
3
votes
1
answer
2k
views
Localhost addresses stopped working after installing Docker
I am used to develop with Vagrant.
My Windows hosts file uses multiple addresses mapping which used to work just perfect:
127.0.0.1 whatever.local
But after installing Docker Desktop, they have ...
3
votes
2
answers
1k
views
Are Vagrant virtual machines (Virtualbox) safe from accidental shutdown/reboots?
Say your host machine got shutdown abruptly or somebody pressed the reboot button and your Vagrant VM is in a running state (e.g., not on halt or suspend state). Will they survive when the host ...
3
votes
1
answer
334
views
Vagrant + Virtualbox CPU utilization very low in Windows 8.1
I am running a Virtualbox VM that runs Ubuntu 14.04 LTS provisioned by Vagrant. There are 2 physical cores in my computer (Dell Inspiron Laptop), which I assigned both of them to the VM (this I ...
3
votes
1
answer
1k
views
Create Vagrant Windows Server 2012 box with Active Directory + Forest breaking WinRM
I followed the instructions on this blog post to get a Vagrant box with Windows Server 2012 R2 eval. Then I tried to install Active Directory Domain Controller and an Active Directory Forest (with ...
2
votes
1
answer
2k
views
How to config "ubuntu/trusty64" Vagrant box properly on Windows 10?
I know this question has been asked several times. But all answers on those questions haven't worked for me.
I'm trying to install a new virtual machine using VirtualBox 5.1.4 (VirtualBox-5.1.14-...
2
votes
1
answer
2k
views
How to start using Windows box after vagrant up successfully?
I am new to Vagrant with Windows using VirtualBox and I follow the example mentioned here.
All is good and I am able to vagrant up dev to the dev machine.
I see this message:
==> dev: Booting VM....
2
votes
0
answers
129
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
0
answers
249
views
How exactly do I run my first, auto-generated 'chef' cookbook on Windows?
I'm very inexperienced with Windows. I'm trying to set up Chef, such that I can avoid duplicating a bunch of "initial setup tasks" everytime I install Windows on a machine, as a developer (enable ...
2
votes
1
answer
1k
views
How can I execute the mt.exe in a PowerShell command prompt
I need to run the mt.exe (part of visual studio express) to embed an application manifest into another executable. Usually the mt.exe is called from a Visual Studio command promtp. The procedure is ...
2
votes
1
answer
5k
views
Vagrant synced folder on Windows D:\ drive
I am having an issue creating a synced folder on a windows 10 D:\ drive
I have the following in my Vagrantfile
config.vm.synced_folder "~/code/", "D:/code/"
When I vagrant up I see:
dev: D:/code =&...
2
votes
0
answers
2k
views
Can't get private GitHub repos to work with Vagrant/Puppet on Windows
I have a project and we use Vagrant for our development env. On Mac/Unix the provisioning works perfectly except in Windows, the problem is that forwarding agent doesn't work on windows and therefore, ...
1
vote
1
answer
1k
views
How to expand storage for vagrant box on Windows host
I'm trying to increase the storage space on my vagrant box from 18 GB to 50 GB. The vagrant box is running Ubuntu and the host is Windows 10. There are similar questions on this forum for expanding a ...
1
vote
0
answers
263
views
Multiple disks on different locations in Vagrant
I have a Windows Server on which I want to create 3 virtual machines with Vagrant. Each one should have two disks attached: the primary one - SSD with 50GB of storage space and another one - HDD with ...
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
0
answers
133
views
Vagrant Windows 10 box does not reset evaluation days remaining
My trial/evaluation Windows 10 box in Vagrant does not reset the days remaining of the trial every time I vagrant destroy then vagrant up or when I uninstall Vagrant/Virtualbox and delete local boxes ...
1
vote
0
answers
91
views
Vagrant on windows - git protocol error
I have a vagrant machine set up with shared folders on windows to code my project.
I use git and sometimes when I do git checkout or git merge I get the following error:
error: unable to create file ...
1
vote
0
answers
176
views
VirtualBox mounted with Vagrant reach maximum diskspace
Today my Windows build machine reached its disk space limit. It turned out that I had more than 400GB in the folder
C:\Windows\System32\config\systemprofile\VirtualBox VMs
During the build process, ...
1
vote
0
answers
690
views
Syncing a Vagrant box across computers (Mac/Windows)
I will be working on a Vagrant box across multiple computers, both Mac (10.8.5) and Windows (7/8). How can I sync the files so that I can always work on an up-to-date version of the box? I'm ...
0
votes
1
answer
126
views
Local dev/test environment for macOS to run two networked O/Ses; one CentOS and the other Windows?
We have a product with three (3) components and I am trying to figure out a good way to set up an environment for local development and testing.
Our components are:
A "Gateway" per customer ...
0
votes
3
answers
5k
views
Vagrant up failed to mount folders in Linux Guest
I have some issues with Vagrant shared folders, my base system is Windows 8.1 Pro. My VirtualBox version is 5.0.
The box comes from PuPHPet.
I do not understand why I have this error is something ...
0
votes
0
answers
23
views
Kafka running simultaneously in a Windows host and a Linux guest
I was following Pluralsight course "Getting Started with Apache Kafka", coming to module 4 about producing messages with Kafka producers. Then, I wanted to reproduce an author's demo which ...
0
votes
1
answer
317
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 ...
0
votes
1
answer
658
views
Cmder seems to not emulate PowerShell when using Vagrant
I'd like to provision and connect to virtual machine using Vagrant and Cmder. Unfortunately, when I try to vagrant up my machine, I'm getting error that I don't use Power Shell:
λ vagrant up
5
...
0
votes
1
answer
3k
views
Why my Vagrantfile is calling Hyper-V hypervisor even disabled at Windows?
I did an upgrade of Windows 10 Professional to the lastest build (brazilian portuguese):
Microsoft Windows [versão 10.0.18363.592]
After this when I ran my Vagrantfile even calling the config ...
0
votes
0
answers
50
views
Any way to cache downloads so repeated downloads will instead download from cache?
I use vagrant to create Linux server provision scripts. I often have to run the same apt-get commands in the provision script. Some packages I have to download and install are large and take a while ...
0
votes
1
answer
736
views
Vagrant syncing to the wrong default folder on Windows?
I don't have any "sync" configuration in my Vagrantfile at all, and yet the folder that is syncing to /vagrant is not the project directory, but my home directory.
This is on a Windows computer ...
0
votes
1
answer
109
views
How do I run "vagrant up" from a context-menu in Windows?
I have a repo with a Vagrantfile. I use to clone it from Mac, Linux and Win depending on the location I'm working at.
When cloning in Windows I would love to right-click the Vagrantfile and choose a ...
0
votes
1
answer
277
views
Why doesn't vagrant password work on Windows 7?
I am installing vagrant(version 1.7.2) on Windows 7. During vagrant up process, I addconfig.ssh.insert_key = false according to vagrant prompt. Then I use the following SSH command to login:
ssh -p ...
-1
votes
2
answers
266
views
Performing a vagrant up inside a Onedrive folder project, why happens this output error message bellow?
My Vagrantfile:
Vagrant.configure("2") do |config|
config.vm.define "vm1" do |vm1|
vm1.vm.box = "debian/buster64"
vm1.vm.box.hostname = "debian-vm"
vm1.vm.network "...