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
207b81c8
Commit
207b81c8
authored
Jul 29, 2015
by
Chris Bednarski
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2522 from bubaflub/non_exclusive_vnc_access
Do not require exclusive VNC access while buildling
parents
c04e4422
585638d0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
builder/qemu/step_type_boot_command.go
builder/qemu/step_type_boot_command.go
+1
-1
builder/vmware/common/step_type_boot_command.go
builder/vmware/common/step_type_boot_command.go
+1
-1
No files found.
builder/qemu/step_type_boot_command.go
View file @
207b81c8
...
...
@@ -52,7 +52,7 @@ func (s *stepTypeBootCommand) Run(state multistep.StateBag) multistep.StepAction
}
defer
nc
.
Close
()
c
,
err
:=
vnc
.
Client
(
nc
,
&
vnc
.
ClientConfig
{
Exclusive
:
tru
e
})
c
,
err
:=
vnc
.
Client
(
nc
,
&
vnc
.
ClientConfig
{
Exclusive
:
fals
e
})
if
err
!=
nil
{
err
:=
fmt
.
Errorf
(
"Error handshaking with VNC: %s"
,
err
)
state
.
Put
(
"error"
,
err
)
...
...
builder/vmware/common/step_type_boot_command.go
View file @
207b81c8
...
...
@@ -57,7 +57,7 @@ func (s *StepTypeBootCommand) Run(state multistep.StateBag) multistep.StepAction
}
defer
nc
.
Close
()
c
,
err
:=
vnc
.
Client
(
nc
,
&
vnc
.
ClientConfig
{
Exclusive
:
tru
e
})
c
,
err
:=
vnc
.
Client
(
nc
,
&
vnc
.
ClientConfig
{
Exclusive
:
fals
e
})
if
err
!=
nil
{
err
:=
fmt
.
Errorf
(
"Error handshaking with VNC: %s"
,
err
)
state
.
Put
(
"error"
,
err
)
...
...
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