From 9f52b786023e9b65173e42bd24aafc18ef8602c5 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 15 Sep 2013 23:13:05 -0700 Subject: [PATCH] fmt --- builder/virtualbox/step_type_boot_command.go | 14 +++++++------- communicator/ssh/keychain.go | 2 +- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/builder/virtualbox/step_type_boot_command.go b/builder/virtualbox/step_type_boot_command.go index c869cedad..66c05dfe9 100644 --- a/builder/virtualbox/step_type_boot_command.go +++ b/builder/virtualbox/step_type_boot_command.go @@ -93,13 +93,13 @@ func (*stepTypeBootCommand) Cleanup(multistep.StateBag) {} func scancodes(message string) []string { // Scancodes reference: http://www.win.tue.nl/~aeb/linux/kbd/scancodes-1.html - // - // Scancodes represent raw keyboard output and are fed to the VM by the - // VBoxManage controlvm keyboardputscancode program. - // - // Scancodes are recorded here in pairs. The first entry represents - // the key press and the second entry represents the key release and is - // derived from the first by the addition of 0x80. + // + // Scancodes represent raw keyboard output and are fed to the VM by the + // VBoxManage controlvm keyboardputscancode program. + // + // Scancodes are recorded here in pairs. The first entry represents + // the key press and the second entry represents the key release and is + // derived from the first by the addition of 0x81. special := make(map[string][]string) special[""] = []string{"0e", "8e"} special[""] = []string{"53", "d3"} diff --git a/communicator/ssh/keychain.go b/communicator/ssh/keychain.go index 39ab8cda0..d7934f8a8 100644 --- a/communicator/ssh/keychain.go +++ b/communicator/ssh/keychain.go @@ -1,13 +1,13 @@ package ssh import ( + "code.google.com/p/go.crypto/ssh" "crypto" "crypto/dsa" "crypto/rsa" "crypto/x509" "encoding/pem" "errors" - "code.google.com/p/go.crypto/ssh" "io" )