diff --git a/builder/virtualbox/step_type_boot_command.go b/builder/virtualbox/step_type_boot_command.go index f0428e551..3435d2e7c 100644 --- a/builder/virtualbox/step_type_boot_command.go +++ b/builder/virtualbox/step_type_boot_command.go @@ -91,8 +91,22 @@ func (*stepTypeBootCommand) Cleanup(map[string]interface{}) {} func scancodes(message string) []string { special := make(map[string][]string) + special[""] = []string{"ff", "08"} + special[""] = []string{"ff", "ff"} special[""] = []string{"1c", "9c"} special[""] = []string{"01", "81"} + special[""] = []string{"ff", "be"} + special[""] = []string{"ff", "bf"} + special[""] = []string{"ff", "c0"} + special[""] = []string{"ff", "c1"} + special[""] = []string{"ff", "c2"} + special[""] = []string{"ff", "c3"} + special[""] = []string{"ff", "c4"} + special[""] = []string{"ff", "c5"} + special[""] = []string{"ff", "c6"} + special[""] = []string{"ff", "c7"} + special[""] = []string{"ff", "c8"} + special[""] = []string{"ff", "c9"} special[""] = []string{"1c", "9c"} special[""] = []string{"0f", "8f"} diff --git a/builder/vmware/step_type_boot_command.go b/builder/vmware/step_type_boot_command.go index 1e4bbdfd6..0ae4918e0 100644 --- a/builder/vmware/step_type_boot_command.go +++ b/builder/vmware/step_type_boot_command.go @@ -95,8 +95,22 @@ func (*stepTypeBootCommand) Cleanup(map[string]interface{}) {} func vncSendString(c *vnc.ClientConn, original string) { special := make(map[string]uint32) + special[""] = 0xFF08 + special[""] = 0xFFFF special[""] = 0xFF0D special[""] = 0xFF1B + special[""] = 0xFFBE + special[""] = 0xFFBF + special[""] = 0xFFC0 + special[""] = 0xFFC1 + special[""] = 0xFFC2 + special[""] = 0xFFC3 + special[""] = 0xFFC4 + special[""] = 0xFFC5 + special[""] = 0xFFC6 + special[""] = 0xFFC7 + special[""] = 0xFFC8 + special[""] = 0xFFC9 special[""] = 0xFF0D special[""] = 0xFF09