Kostas Demiris
Kostas Demiris

Reputation: 3621

Empty /vagrant folder after I power off the VM

I have a Vagrant VM using Virtualbox.

I have many files in my root folder which appear in /vagrant folder inside the VM.

When I power it off and restart it, the /vagrant folder is empty.

Why?

Upvotes: 0

Views: 77

Answers (1)

saf
saf

Reputation: 171

How are you powering the vm off and restarting?

It is vagrant who mounts that directory.

If you are doing that operations from VirtualBox directly it is not going to be mounted.

Upvotes: 2

Related Questions