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
28286d28
Commit
28286d28
authored
Jan 13, 2014
by
Myles Steinhauser
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix tabs vs spaces
parent
e4cfcb2a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
36 additions
and
36 deletions
+36
-36
builder/qemu/step_type_boot_command.go
builder/qemu/step_type_boot_command.go
+12
-12
builder/virtualbox/iso/step_type_boot_command.go
builder/virtualbox/iso/step_type_boot_command.go
+12
-12
builder/vmware/iso/step_type_boot_command.go
builder/vmware/iso/step_type_boot_command.go
+12
-12
No files found.
builder/qemu/step_type_boot_command.go
View file @
28286d28
...
@@ -16,9 +16,9 @@ import (
...
@@ -16,9 +16,9 @@ import (
const
KeyLeftShift
uint32
=
0xFFE1
const
KeyLeftShift
uint32
=
0xFFE1
type
bootCommandTemplateData
struct
{
type
bootCommandTemplateData
struct
{
HTTPIP
string
HTTPIP
string
HTTPPort
uint
HTTPPort
uint
Name
string
Name
string
}
}
// This step "types" the boot command into the VM over VNC.
// This step "types" the boot command into the VM over VNC.
...
@@ -112,16 +112,16 @@ func vncSendString(c *vnc.ClientConn, original string) {
...
@@ -112,16 +112,16 @@ func vncSendString(c *vnc.ClientConn, original string) {
special
[
"<f12>"
]
=
0xFFC9
special
[
"<f12>"
]
=
0xFFC9
special
[
"<return>"
]
=
0xFF0D
special
[
"<return>"
]
=
0xFF0D
special
[
"<tab>"
]
=
0xFF09
special
[
"<tab>"
]
=
0xFF09
special
[
"<up>"
]
=
0xFF52
special
[
"<up>"
]
=
0xFF52
special
[
"<down>"
]
=
0xFF54
special
[
"<down>"
]
=
0xFF54
special
[
"<left>"
]
=
0xFF51
special
[
"<left>"
]
=
0xFF51
special
[
"<right>"
]
=
0xFF53
special
[
"<right>"
]
=
0xFF53
special
[
"<spacebar>"
]
=
0x020
special
[
"<spacebar>"
]
=
0x020
special
[
"<insert>"
]
=
0xFF63
special
[
"<insert>"
]
=
0xFF63
special
[
"<home>"
]
=
0xFF50
special
[
"<home>"
]
=
0xFF50
special
[
"<end>"
]
=
0xFF57
special
[
"<end>"
]
=
0xFF57
special
[
"<pageUp>"
]
=
0xFF55
special
[
"<pageUp>"
]
=
0xFF55
special
[
"<pageDown>"
]
=
0xFF56
special
[
"<pageDown>"
]
=
0xFF56
shiftedChars
:=
"~!@#$%^&*()_+{}|:
\"
<>?"
shiftedChars
:=
"~!@#$%^&*()_+{}|:
\"
<>?"
...
...
builder/virtualbox/iso/step_type_boot_command.go
View file @
28286d28
...
@@ -15,9 +15,9 @@ import (
...
@@ -15,9 +15,9 @@ import (
const
KeyLeftShift
uint32
=
0xFFE1
const
KeyLeftShift
uint32
=
0xFFE1
type
bootCommandTemplateData
struct
{
type
bootCommandTemplateData
struct
{
HTTPIP
string
HTTPIP
string
HTTPPort
uint
HTTPPort
uint
Name
string
Name
string
}
}
// This step "types" the boot command into the VM over VNC.
// This step "types" the boot command into the VM over VNC.
...
@@ -118,16 +118,16 @@ func scancodes(message string) []string {
...
@@ -118,16 +118,16 @@ func scancodes(message string) []string {
special
[
"<f10>"
]
=
[]
string
{
"44"
,
"c4"
}
special
[
"<f10>"
]
=
[]
string
{
"44"
,
"c4"
}
special
[
"<return>"
]
=
[]
string
{
"1c"
,
"9c"
}
special
[
"<return>"
]
=
[]
string
{
"1c"
,
"9c"
}
special
[
"<tab>"
]
=
[]
string
{
"0f"
,
"8f"
}
special
[
"<tab>"
]
=
[]
string
{
"0f"
,
"8f"
}
special
[
"<up>"
]
=
[]
string
{
"48"
,
"c8"
}
special
[
"<up>"
]
=
[]
string
{
"48"
,
"c8"
}
special
[
"<down>"
]
=
[]
string
{
"50"
,
"d0"
}
special
[
"<down>"
]
=
[]
string
{
"50"
,
"d0"
}
special
[
"<left>"
]
=
[]
string
{
"4b"
,
"cb"
}
special
[
"<left>"
]
=
[]
string
{
"4b"
,
"cb"
}
special
[
"<right>"
]
=
[]
string
{
"4d"
,
"cd"
}
special
[
"<right>"
]
=
[]
string
{
"4d"
,
"cd"
}
special
[
"<spacebar>"
]
=
[]
string
{
"39"
,
"b9"
}
special
[
"<spacebar>"
]
=
[]
string
{
"39"
,
"b9"
}
special
[
"<insert>"
]
=
[]
string
{
"52"
,
"d2"
}
special
[
"<insert>"
]
=
[]
string
{
"52"
,
"d2"
}
special
[
"<home>"
]
=
[]
string
{
"47"
,
"c7"
}
special
[
"<home>"
]
=
[]
string
{
"47"
,
"c7"
}
special
[
"<end>"
]
=
[]
string
{
"4f"
,
"cf"
}
special
[
"<end>"
]
=
[]
string
{
"4f"
,
"cf"
}
special
[
"<pageUp>"
]
=
[]
string
{
"49"
,
"c9"
}
special
[
"<pageUp>"
]
=
[]
string
{
"49"
,
"c9"
}
special
[
"<pageDown>"
]
=
[]
string
{
"51"
,
"d1"
}
special
[
"<pageDown>"
]
=
[]
string
{
"51"
,
"d1"
}
shiftedChars
:=
"~!@#$%^&*()_+{}|:
\"
<>?"
shiftedChars
:=
"~!@#$%^&*()_+{}|:
\"
<>?"
...
...
builder/vmware/iso/step_type_boot_command.go
View file @
28286d28
...
@@ -18,9 +18,9 @@ import (
...
@@ -18,9 +18,9 @@ import (
const
KeyLeftShift
uint32
=
0xFFE1
const
KeyLeftShift
uint32
=
0xFFE1
type
bootCommandTemplateData
struct
{
type
bootCommandTemplateData
struct
{
HTTPIP
string
HTTPIP
string
HTTPPort
uint
HTTPPort
uint
Name
string
Name
string
}
}
// This step "types" the boot command into the VM over VNC.
// This step "types" the boot command into the VM over VNC.
...
@@ -136,16 +136,16 @@ func vncSendString(c *vnc.ClientConn, original string) {
...
@@ -136,16 +136,16 @@ func vncSendString(c *vnc.ClientConn, original string) {
special
[
"<f12>"
]
=
0xFFC9
special
[
"<f12>"
]
=
0xFFC9
special
[
"<return>"
]
=
0xFF0D
special
[
"<return>"
]
=
0xFF0D
special
[
"<tab>"
]
=
0xFF09
special
[
"<tab>"
]
=
0xFF09
special
[
"<up>"
]
=
0xFF52
special
[
"<up>"
]
=
0xFF52
special
[
"<down>"
]
=
0xFF54
special
[
"<down>"
]
=
0xFF54
special
[
"<left>"
]
=
0xFF51
special
[
"<left>"
]
=
0xFF51
special
[
"<right>"
]
=
0xFF53
special
[
"<right>"
]
=
0xFF53
special
[
"<spacebar>"
]
=
0x020
special
[
"<spacebar>"
]
=
0x020
special
[
"<insert>"
]
=
0xFF63
special
[
"<insert>"
]
=
0xFF63
special
[
"<home>"
]
=
0xFF50
special
[
"<home>"
]
=
0xFF50
special
[
"<end>"
]
=
0xFF57
special
[
"<end>"
]
=
0xFF57
special
[
"<pageUp>"
]
=
0xFF55
special
[
"<pageUp>"
]
=
0xFF55
special
[
"<pageDown>"
]
=
0xFF56
special
[
"<pageDown>"
]
=
0xFF56
shiftedChars
:=
"~!@#$%^&*()_+{}|:
\"
<>?"
shiftedChars
:=
"~!@#$%^&*()_+{}|:
\"
<>?"
...
...
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