Closed
Description
Heya,
Vagrant allows to customize the VirtualBox VM by using the config.vm.customize
key in the Vagrantfile
. Under the hood, this uses vboxmanage
and you can find more information here: config.vm.customize.
Thing is, vboxmanage
can also manage "global" properties, like the defaultMachineFolder
:
vboxmanage setproperty machinefolder "/path/to/your/VirtualBox VMs/"
It's not possible to use Vagrant to run this command as customizations are executed after the image disk importation.
So my question is, could it be possible to run customizations before everything else? I guess it's not supported yet (or I missed something), so could it be an improvement?
Thanks,
William
Metadata
Metadata
Assignees
Labels
No labels