Changing default settings for VM's

This is for discussing general topics about how to use VirtualBox.
Post Reply
martinjh99
Posts: 3
Joined: 2. Jan 2009, 09:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Various Linux Distros

Changing default settings for VM's

Post by martinjh99 »

What I want to do is change the default settings for VM's - I would like to be able to change the settings for virtual graphic memory and 3d acceleration and have those settings applied to every new VM I create afterwards.

At the moment I have a workaround where I have a VM with all the settings but without a hard disc that I clone then add a HDD and install...

Is there a way to create the new default settings?
scottgus1
Site Moderator
Posts: 20965
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Changing default settings for VM's

Post by scottgus1 »

I believe that your workaround of cloning an existing VM is all you'd be able to do. The settings chosen by the New Machine wizard are hard-wired into Virtualbox. You'd have to edit the source code and rebuild to change them.
martinjh99
Posts: 3
Joined: 2. Jan 2009, 09:44
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Various Linux Distros

Re: Changing default settings for VM's

Post by martinjh99 »

Thanks :) Thought that might be the case from asking the same question on Reddit - Thought I'd ask here as there are probably more experts here... :)
fth0
Volunteer
Posts: 5668
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Changing default settings for VM's

Post by fth0 »

Alternatively, you could write a script to create the VMs using VBoxManage commands. For an example, see 7.1.3. Step by Step: Creating a Virtual Machine on a Headless Server.
mpack
Site Moderator
Posts: 39156
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Re: Changing default settings for VM's

Post by mpack »

Probably easiest and less version dependant to just clone a template VM. That way you get the guest OS setup how you like it too.
Post Reply