I am trying to export a Windows7 virtualbox image to a .box format, but
getting errors while exporting it. please advise. The logs are mentioned
below:
cat metadata.json
{"provider":"virtualbox"}
INMLL289H03Q:virtualbox anshulmittal$ vagrant package --base="abc"
--output="abc1.box" --include metadata.json
==> vagrant: A new version of Vagrant is available: 2.2.4!
==> vagrant: To upgrade visit: https://www.vagrantup.com/downloads.html
==> abc: Exporting VM...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.
Command: ["export", "abc", "--output",
"/Users/anshulmittal/.vagrant.d/tmp/vagrant-package-20190323-41800-161eeyz/box.ovf"]
Stderr: 0%...
Progress state: VBOX_E_IPRT_ERROR
VBoxManage: error: Appliance write failed
VBoxManage: error: RTVfsFsStrmAdd failed for 'box.ovf' (VERR_ALREADY_EXISTS)
VBoxManage: error: Details: code VBOX_E_IPRT_ERROR (0x80bb0005), component
ApplianceWrap, interface IAppliance
VBoxManage: error: Context: "RTEXITCODE handleExportAppliance(HandlerArg
*)" at line 1263 of file VBoxManageAppliance.cpp
--
This mailing list is governed under the HashiCorp Community Guidelines -
https://www.hashicorp.com/community-guidelines.html. Behavior in violation of
those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups
"Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vagrant-up/deac9e81-580b-4acb-b743-756d3668ef86%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.