diff --git a/builder/qemu/step_type_boot_command.go b/builder/qemu/step_type_boot_command.go index fc999429f..6138f6cdd 100644 --- a/builder/qemu/step_type_boot_command.go +++ b/builder/qemu/step_type_boot_command.go @@ -153,7 +153,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, true) time.Sleep(time.Second / 10) @@ -167,7 +167,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, true) time.Sleep(time.Second / 10) @@ -181,7 +181,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, true) time.Sleep(time.Second / 10) @@ -195,7 +195,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, false) time.Sleep(time.Second / 10) @@ -209,7 +209,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, false) time.Sleep(time.Second / 10) @@ -223,7 +223,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, false) time.Sleep(time.Second / 10) @@ -237,7 +237,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, true) time.Sleep(time.Second / 10) @@ -251,7 +251,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, true) time.Sleep(time.Second / 10) @@ -265,7 +265,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, true) time.Sleep(time.Second / 10) @@ -279,7 +279,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, false) time.Sleep(time.Second / 10) @@ -293,7 +293,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, false) time.Sleep(time.Second / 10) @@ -307,7 +307,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, false) time.Sleep(time.Second / 10) diff --git a/builder/vmware/common/step_type_boot_command.go b/builder/vmware/common/step_type_boot_command.go index b74dff32e..d68e809c7 100644 --- a/builder/vmware/common/step_type_boot_command.go +++ b/builder/vmware/common/step_type_boot_command.go @@ -176,7 +176,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, true) time.Sleep(time.Second / 10) @@ -187,7 +187,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, true) time.Sleep(time.Second / 10) @@ -198,7 +198,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, true) time.Sleep(time.Second / 10) @@ -209,7 +209,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, false) time.Sleep(time.Second / 10) @@ -220,7 +220,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, false) time.Sleep(time.Second / 10) @@ -231,7 +231,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, false) time.Sleep(time.Second / 10) @@ -242,7 +242,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, true) time.Sleep(time.Second / 10) @@ -253,7 +253,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, true) time.Sleep(time.Second / 10) @@ -264,7 +264,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, true) time.Sleep(time.Second / 10) @@ -275,7 +275,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, false) time.Sleep(time.Second / 10) @@ -286,7 +286,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, false) time.Sleep(time.Second / 10) @@ -297,7 +297,7 @@ func vncSendString(c *vnc.ClientConn, original string) { if strings.HasPrefix(original, "") { keyCode = special[""] original = original[len(""):] - log.Printf("Special code '' found, replacing with: %s", keyCode) + log.Printf("Special code '' found, replacing with: %d", keyCode) c.KeyEvent(keyCode, false) time.Sleep(time.Second / 10)