--- layout: "docs" page_title: "Configuration - VirtualBox Provider" sidebar_current: "providers-virtualbox-configuration" description: |- The VirtualBox provider exposes some additional configuration options that allow you to more finely control your VirtualBox-powered Vagrant environments. --- # Configuration The VirtualBox provider exposes some additional configuration options that allow you to more finely control your VirtualBox-powered Vagrant environments. ## GUI vs. Headless By default, VirtualBox machines are started in headless mode, meaning there is no UI for the machines visible on the host machine. Sometimes, you want to have a UI. Common use cases include wanting to see a browser that may be running in the machine, or debugging a strange boot issue. You can easily tell the VirtualBox provider to boot with a GUI: ``` config.vm.provider "virtualbox" do |v| v.gui = true end ``` ## Virtual Machine Name You can customize the name that appears in the VirtualBox GUI by setting the `name` property. By default, Vagrant sets it to the containing folder of the Vagrantfile plus a timestamp of when the machine was created. By setting another name, your VM can be more easily identified. ```ruby config.vm.provider "virtualbox" do |v| v.name = "my_vm" end ``` ## Linked Clones By default new machines are created by importing the base box. For large boxes this produces a large overhead in terms of time (the import operation) and space (the new machine contains a copy of the base box's image). Using linked clones can drastically reduce this overhead. Linked clones are based on a master VM, which is generated by importing the base box only once the first time it is required. For the linked clones only differencing disk images are created where the parent disk image belongs to the master VM. ```ruby config.vm.provider "virtualbox" do |v| v.linked_clone = true end ``` To have backward compatibility: ```ruby config.vm.provider 'virtualbox' do |v| v.linked_clone = true if Vagrant::VERSION =~ /^1.8/ end ``` If you do not want backward compatibility and want to force users to support linked cloning, you can use `Vagrant.require_version` with 1.8.