Opened 2 months ago
Last modified 9 days ago
#22308 new defect
VBoxManage unregistervm --delete does not delete VRDEAutoGeneratedCert.pem and VRDEAutoGeneratedPrivateKey.pem
Reported by: | amw | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox-7.1.4 |
Keywords: | Cc: | amw | |
Guest type: | other | Host type: | Linux |
Description
If I run VBoxManage unregistervm --delete
at the command line VRDEAutoGeneratedCert.pem and VRDEAutoGeneratedPrivateKey.pem are left behind in the machine folder. The problem occurs on a machine running VirtualBox-7.1.4, but not on one using VirtualBox-7.0.18.
I use Vagrant to create VMs in a CI testing environment and this bug has broken the scripts. When recreating a VM, I get:
VBoxManage: error: Could not rename the directory '~/VirtualBox VMs/temp_clone_1738566076708_11622' to '~/VirtualBox VMs/vm_name' to save the settings file (VERR_ALREADY_EXISTS)
Change History (2)
comment:1 by , 7 weeks ago
comment:2 by , 9 days ago
Summary: | VBoxManage unregistervm --delete doesn not delete VRDEAutoGeneratedCert.pem and VRDEAutoGeneratedPrivateKey.pem → VBoxManage unregistervm --delete does not delete VRDEAutoGeneratedCert.pem and VRDEAutoGeneratedPrivateKey.pem |
---|
This issue has now been addressed and the fix is available in the Testbuilds today. The fix will also be part of the next maintenance release of 7.1.
This issue also affects Windows hosts, and it causes similar problems with CI scripts. The issue is still present in VirtualBox 7.1.6.