Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
packer
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kristopher Ruzic
packer
Commits
cabbe007
Commit
cabbe007
authored
Aug 03, 2015
by
Chris Bednarski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2415 from DrewDahl/fix-qemu-vnc-missed-keys
Add 1/10th second delay between key events to VNC for QEMU
parents
6a2bedb6
1f6137e6
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
builder/qemu/step_type_boot_command.go
builder/qemu/step_type_boot_command.go
+2
-0
No files found.
builder/qemu/step_type_boot_command.go
View file @
cabbe007
...
...
@@ -177,7 +177,9 @@ func vncSendString(c *vnc.ClientConn, original string) {
}
c
.
KeyEvent
(
keyCode
,
true
)
time
.
Sleep
(
time
.
Second
/
10
)
c
.
KeyEvent
(
keyCode
,
false
)
time
.
Sleep
(
time
.
Second
/
10
)
if
keyShift
{
c
.
KeyEvent
(
KeyLeftShift
,
false
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment