You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've been using the box "gusztavvargadr/windows-10" for some while now (thanks a lot!). Since a few weeks, it seems broken and fails to complete vagrant up with the following messages:
mark@Marks-iMac myproject % vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
==> default: Importing base box 'gusztavvargadr/windows-10'...
==> default: Matching MAC address for NAT networking...
==> default: Checking if box 'gusztavvargadr/windows-10' version '2202.0.2307' is up to date...
==> default: Setting the name of the VM: myproject_default_1689947592479_50991
==> default: Clearing any previously set network interfaces...
==> default: Preparing network interfaces based on configuration...
default: Adapter 1: nat
==> default: Forwarding ports...
default: 3389 (guest) => 53389 (host) (adapter 1)
default: 5985 (guest) => 55985 (host) (adapter 1)
default: 5986 (guest) => 55986 (host) (adapter 1)
default: 22 (guest) => 2222 (host) (adapter 1)
==> default: Running 'pre-boot' VM customizations...
==> default: Booting VM...
==> default: Waiting for machine to boot. This may take a few minutes...
default: WinRM address: 127.0.0.1:55985
default: WinRM username: vagrant
default: WinRM execution_time_limit: PT2H
default: WinRM transport: negotiate
An error occurred executing a remote WinRM command.
Shell: Cmd
Command: hostname
Message: Digest initialization failed: initialization error
The Vagrantfile I'm using is pretty vanilla:
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "gusztavvargadr/windows-10"
config.vm.synced_folder ".", "/kirby"
config.vm.provider "virtualbox" do |vb|
vb.gui = false
end
# wait longer for a slowly booting VM
config.winrm.max_tries = 300 # default is 20
config.winrm.retry_delay = 2 #seconds. This is the defaul value and just here for documentation.
config.vm.provision "file", source: "requirements.txt", destination: "c:/Users/vagrant/requirements.txt"
config.vm.provision :shell, upload_path: "c:/Users/vagrant/buildtools/", path: "buildtools/install_dependencies.ps1"
config.vm.provision :shell, upload_path: "c:/Users/vagrant/buildtools/", path: "buildtools/install_requirements.ps1"
config.vm.provision :shell, inline: "git config --global --add safe.directory '%(prefix)///vboxsvr/myproject/'"
end
The error message has changed a bit over the last version of the box file, but I'm really without an idea on how to fix or even debug this. The box seems to be running, but vagrant winrm fails, whereas vagrant ssh does work and lands me in cmd.exe.
The text was updated successfully, but these errors were encountered:
This seems to be a regression in Vagrant itself, I've noticed it myself. I managed to make it work only by downgrading Vagrant itself, to me version 2.3.6 still works.
Please let me know if downgrading could solve your issue.
Indeed, downgrading to 2.3.6 helped. Thanks, I didn't find the issue in Vagrant (and had different issues with Ubuntu boxes hat 2.3.7 seems to solve ...).
We've been using the box
"gusztavvargadr/windows-10"
for some while now (thanks a lot!). Since a few weeks, it seems broken and fails to completevagrant up
with the following messages:The
Vagrantfile
I'm using is pretty vanilla:I'm running macOS Ventura 13.4.1 (c) (22F770820d), Vagrant 2.3.7, VirtualBox 7.0.8.
The error message has changed a bit over the last version of the box file, but I'm really without an idea on how to fix or even debug this. The box seems to be running, but
vagrant winrm
fails, whereasvagrant ssh
does work and lands me incmd.exe
.The text was updated successfully, but these errors were encountered: