Parallels / vagrant-parallels

Vagrant Parallels Provider
https://parallels.github.io/vagrant-parallels
MIT License
996 stars 87 forks source link

correct vagrant package #463

Closed sony-aufsehe closed 10 months ago

sony-aufsehe commented 10 months ago

Following commit https://github.com/sony-aufsehe/vagrant-parallels/commit/dbe3495cd3fbf09642cbd21f602bf8280c12d6d2, vagrant package fails. This is due to the new copy method introduced in the commit. The new method performs an additional unregister. While this is okay for an import action, The driver copy method is also used in export action an the export method expect the src vm to still be registered after copy.

Passing the option linked to the call to clone_vm allows to fallback in the original copy behaviour. Thus effectively restoring package functionality.

EDIT: address issue #461

bineesh-n commented 10 months ago

We are reverting the copy_clone_vm changes (commit dbe3495cd3fbf09642cbd21f602bf8280c12d6d2). So these changes are no longer requried.