Merge pull request #2522 from bubaflub/non_exclusive_vnc_access

Do not require exclusive VNC access while buildling
This commit is contained in:
Chris Bednarski 2015-07-29 15:05:43 -07:00
commit 207b81c86b
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ func (s *stepTypeBootCommand) Run(state multistep.StateBag) multistep.StepAction
}
defer nc.Close()
c, err := vnc.Client(nc, &vnc.ClientConfig{Exclusive: true})
c, err := vnc.Client(nc, &vnc.ClientConfig{Exclusive: false})
if err != nil {
err := fmt.Errorf("Error handshaking with VNC: %s", err)
state.Put("error", err)

View File

@ -57,7 +57,7 @@ func (s *StepTypeBootCommand) Run(state multistep.StateBag) multistep.StepAction
}
defer nc.Close()
c, err := vnc.Client(nc, &vnc.ClientConfig{Exclusive: true})
c, err := vnc.Client(nc, &vnc.ClientConfig{Exclusive: false})
if err != nil {
err := fmt.Errorf("Error handshaking with VNC: %s", err)
state.Put("error", err)