View Issue Details

IDProjectCategoryView StatusLast Update
0009251Kali LinuxKali Package Bugpublic2025-07-22 11:53
Reportermartin7x3 Assigned Tog0tmi1k  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
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

g0tmi1k

g0tmi1k

2025-07-20 05:20

administrator   ~0020749

Fix has been merged upstream.
You can manually apply the patfch, or wait for v2.4.8 being released.

Issue History

Date Modified Username Field Change
2025-07-16 08:29 martin7x3 New Issue
2025-07-16 14:53 g0tmi1k Note Added: 0020738
2025-07-20 05:20 g0tmi1k Note Added: 0020749
2025-07-22 11:53 daniruiz Assigned To => daniruiz
2025-07-22 11:53 daniruiz Status new => assigned
2025-07-22 11:53 daniruiz Assigned To daniruiz => g0tmi1k
2025-07-22 11:53 daniruiz Status assigned => resolved
2025-07-22 11:53 daniruiz Resolution open => fixed