Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Customize Vagrant before importing the image disk #1247
Vagrant allows to customize the VirtualBox VM by using the
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?
According to the VBoxManage documentation, "most of [the VBoxManage] subcommands require that you specify a particular virtual machine after the subcommand.". IMO we should not change the existing process. Tweaking the VM should be done once the disk is imported.
VBoxManage subcommands that don't need a UUID:
To be more generic (as VirtualBox isn't the only thing we should consider now), I think we should find a name for these tasks that need to be performed before importing the disk, maybe like a hook:
What do you think?
Would it be possible to have
William Durand | http://www.williamdurand.fr
On Thu, Jan 31, 2013 at 7:05 AM, Mitchell Hashimoto <