update CHANGELOG

This commit is contained in:
Mitchell Hashimoto 2015-06-08 21:33:53 -07:00
parent 2373640881
commit fa2bcb8bc5
2 changed files with 7 additions and 2 deletions

View File

@ -46,6 +46,8 @@ BUG FIXES:
OS installers. [GH-1709]
* builder/virtualbox: Remove the floppy controller in addition to the
floppy disk. [GH-1879]
* builder/vmware: Add 100ms delay between keystrokes to avoid subtle
timing issues in most cases. [GH-1663]
* builder/vmware: Bind HTTP server to IPv4, which is more compatible with
OS installers. [GH-1709]
* builder/vmware: Case-insensitive match of MAC address to find IP [GH-1989]

View File

@ -200,10 +200,13 @@ func vncSendString(c *vnc.ClientConn, original string) {
c.KeyEvent(KeyLeftShift, true)
}
// Send the key events. We add a 100ms sleep after each key event
// to deal with network latency and the OS responding to the keystroke.
// It is kind of arbitrary but it is better than nothing.
c.KeyEvent(keyCode, true)
time.Sleep(time.Second/10)
time.Sleep(100 * time.Millisecond)
c.KeyEvent(keyCode, false)
time.Sleep(time.Second/10)
time.Sleep(100 * time.Millisecond)
if keyShift {
c.KeyEvent(KeyLeftShift, false)