-
Save this file in your disk and change your PWD to that directory.
-
Set the environment variable
VAGRANT_EXPERIMENTAL
to "disks".
export VAGRANT_EXPERIMENTAL=disks
- Finally start the vm with
vagrant up
. You'll definitely see a couple of warning messages like these:-
==> vagrant: You have requested to enabled the experimental flag with the following features:
==> vagrant:
==> vagrant: Features: disks
==> vagrant:
==> vagrant: Please use with caution, as some of the features may not be fully
==> vagrant: functional yet.
Ignore them.
- SSH into the machine.
vagrant ssh
- Destroy the machine once the work is done.
vagrant destroy