From facf27ceebfddb34764885ddcdbef76502e7c9cb Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Thu, 2 Feb 2017 01:55:28 -0800 Subject: [PATCH] Make rdp and vnc links clickable by adding the protocol --- builder/qemu/step_run.go | 2 +- builder/virtualbox/common/step_run.go | 2 +- builder/vmware/common/step_run.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/builder/qemu/step_run.go b/builder/qemu/step_run.go index 4c05e79b9..12316dd97 100644 --- a/builder/qemu/step_run.go +++ b/builder/qemu/step_run.go @@ -116,7 +116,7 @@ func getCommandArgs(bootDrive string, state multistep.StateBag) ([]string, error ui.Message(fmt.Sprintf( "The VM will be run headless, without a GUI. If you want to\n"+ "view the screen of the VM, connect via VNC without a password to\n"+ - "%s:%d", vncIp, vncPort)) + "vnc://%s:%d", vncIp, vncPort)) } else { ui.Message("The VM will be run headless, without a GUI, as configured.\n" + "If the run isn't succeeding as you expect, please enable the GUI\n" + diff --git a/builder/virtualbox/common/step_run.go b/builder/virtualbox/common/step_run.go index 71f419f5d..9958bf2a2 100644 --- a/builder/virtualbox/common/step_run.go +++ b/builder/virtualbox/common/step_run.go @@ -40,7 +40,7 @@ func (s *StepRun) Run(state multistep.StateBag) multistep.StepAction { ui.Message(fmt.Sprintf( "The VM will be run headless, without a GUI. If you want to\n"+ "view the screen of the VM, connect via VRDP without a password to\n"+ - "%s:%d", vrdpIp, vrdpPort)) + "rdp://%s:%d", vrdpIp, vrdpPort)) } else { ui.Message("The VM will be run headless, without a GUI, as configured.\n" + "If the run isn't succeeding as you expect, please enable the GUI\n" + diff --git a/builder/vmware/common/step_run.go b/builder/vmware/common/step_run.go index d82c5d345..3e81dab33 100644 --- a/builder/vmware/common/step_run.go +++ b/builder/vmware/common/step_run.go @@ -48,7 +48,7 @@ func (s *StepRun) Run(state multistep.StateBag) multistep.StepAction { ui.Message(fmt.Sprintf( "The VM will be run headless, without a GUI. If you want to\n"+ "view the screen of the VM, connect via VNC with the password \"%s\" to\n"+ - "%s:%d", vncPassword, vncIp, vncPort)) + "vnc://%s:%d", vncPassword, vncIp, vncPort)) } else { ui.Message("The VM will be run headless, without a GUI, as configured.\n" + "If the run isn't succeeding as you expect, please enable the GUI\n" +