Vagrant: config.vm.guest = :windows not applied

15 views
Skip to first unread message

Tobias

unread,
Aug 8, 2019, 8:49:10 AM8/8/19
to Vagrant
Hello everyone,

I have a very strange Issue with Vagrant on Windows 10 and before I open an Issue at the offical github site I would like to have somebody reviewing my setup and see if it can be reproduced on a diffrent PC just to make sure It is not related to actual my computer.


### Vagrant version
Vagrant 2.2.5

### Host operating system
Windows 10 Pro N Version 1903

### Guest operating system
Windows Server 2019 Standard (GUI)

### Vagrantfile
```ruby
Vagrant.configure("2") do |config|
config.vm.define "DC01"
config.vm.box = "DC01"
config.vm.provider :virtualbox do |vb|
vb.name = "DC01"
end
config.vm.guest = :windows
config.ssh.shell = "cmd"
```
### Debug output


### Expected behavior
When using config.vm.guest = :windows it should start the routine for windows guest os's,

"The guest OS that will be running within this machine. This defaults to :linux, and Vagrant will auto-detect the proper distro. However, this should be changed to :windows for Windows guests. Vagrant needs to know this information to perform some guest OS-specific things such as mounting folders and configuring networks."

### Actual behavior
In the Debug view you can see that after establishing the ssh connection it will execute linux commands "printf" line https://gist.github.com/MrInternetlol/4cf58115f0e063a55bb3c97185c835df#file-gistfile1-txt-L32543
Reply all
Reply to author
Forward
0 new messages