Set a default for the "gui" option for VirtualBox

This commit is contained in:
Mitchell Hashimoto 2012-12-25 09:18:47 -08:00
parent 54a2f6b89e
commit e955596939
1 changed files with 7 additions and 0 deletions

View File

@ -26,6 +26,13 @@ module VagrantPlugins
def customize(command)
@customizations << command
end
# This is the hook that is called to finalize the object before it
# is put into use.
def finalize!
# Default is to not show a GUI
@gui = false if @gui == UNSET_VALUE
end
end
end
end