Parallels / vagrant-parallels

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

Unable to clean up the virtual machine #373

Closed ghost closed 3 years ago

ghost commented 3 years ago

I'm using vagrant-parallels to install a vagrant virtual machine(Ubuntu 18.04) in my parallels desktop. After some time of using, the disk space of virtual machine become larger and larger, I tried to use apt autoclean and apt autoremove to clean up the virtual machine, but I found that the freed disk space cannot be detected by parallels desktop. I cannot clean up the ubuntu virtual machine as what I did for windows virtual machine. Is there anyway to let parallels desktop detect the freed disk space and clean the up?

legal90 commented 3 years ago

@NanonaN Could you please provide the Vagrantfile your were using to create your Ubuntu 18.04 VM? That's needed to reproduce the issue and find out whether you use linked_clone feature or not (it's enabled by default).

ghost commented 3 years ago

@legal90 Thanks for your help, I updated my vagrant-parallels plugin and the problem solved.