From 2b010269a30d7500318cb831441275ac1596e592 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Tue, 2 Jul 2013 12:20:26 -0700 Subject: [PATCH] builder/virtualbox: Warning about headless mode /cc @smerrill --- builder/virtualbox/step_run.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/builder/virtualbox/step_run.go b/builder/virtualbox/step_run.go index 128be2fe1..1fa01d0ff 100644 --- a/builder/virtualbox/step_run.go +++ b/builder/virtualbox/step_run.go @@ -25,6 +25,9 @@ func (s *stepRun) Run(state map[string]interface{}) multistep.StepAction { ui.Say("Starting the virtual machine...") guiArgument := "gui" if config.Headless == true { + ui.Message("WARNING: The VM will be started in headless mode, as configured.\n" + + "In headless mode, errors during the boot sequence or OS setup\n" + + "won't be easily visible. Use at your own discresion.") guiArgument = "headless" } command := []string{"startvm", vmName, "--type", guiArgument}