View Issue Details

IDProjectCategoryView StatusLast Update
0009251Kali LinuxKali Package Bugpublic2025-07-16 14:53
Reportermartin7x3 Assigned To 
PrioritynormalSeverityminorReproducibilityhave not tried
Status newResolutionopen 
Summary0009251: Vagrant kalilinux/rolling 2025.2.0 not working
Description

If I try to create a new kali vm using vagrant I get the following error

An error occurred while executing a PowerShell script. This error
is shown below. Please read the error message and see if this is
a configuration error with your system. If it is not, then please
report a bug.

Script: import_vm.ps1
Error:

Cannot convert the "System.Xml.XmlElement" value of type "System.Xml.XmlElement" to type "System.Int32".
 INFO interface: Machine: error-exit ["VagrantPlugins::HyperV::Errors::PowerShellError", "An error occurred while executing a PowerShell script. This error\nis shown below. Please read the error message and see if this is\na configuration error with your system. If it is not, then please\nreport a bug.\n\nScript: import_vm.ps1\nError:\n\nCannot convert the \"System.Xml.XmlElement\" value of type \"System.Xml.XmlElement\" to type \"System.Int32\"."]

If I specify config.vm.box_version = "2025.1.0" directly it works without a problem

Activities

g0tmi1k

g0tmi1k

2025-07-16 14:53

administrator   ~0020738

Bug and fix has been filled upstream ~ https://github.com/hashicorp/vagrant/pull/13691

Issue History

Date Modified Username Field Change
2025-07-16 08:29 martin7x3 New Issue
2025-07-16 14:53 g0tmi1k Note Added: 0020738