builder/vmware: interrupts work during VNC type on VMware
This commit is contained in:
parent
b49fe4971a
commit
3fc069c48b
|
@ -38,6 +38,7 @@ BUG FIXES:
|
||||||
written to the FAT12 filesystem. [GH-285]
|
written to the FAT12 filesystem. [GH-285]
|
||||||
* builder/vmware: dowload progress won't be shown until download
|
* builder/vmware: dowload progress won't be shown until download
|
||||||
actually starts. [GH-288]
|
actually starts. [GH-288]
|
||||||
|
* builder/vmware: interrupt works while typing commands over VNC.
|
||||||
* builder/virtualbox: floppy files names of 13 characters are now properly
|
* builder/virtualbox: floppy files names of 13 characters are now properly
|
||||||
written to the FAT12 filesystem. [GH-285]
|
written to the FAT12 filesystem. [GH-285]
|
||||||
* post-processor/vagrant: Process user variables. [GH-295]
|
* post-processor/vagrant: Process user variables. [GH-295]
|
||||||
|
|
|
@ -96,6 +96,12 @@ func (s *stepTypeBootCommand) Run(state map[string]interface{}) multistep.StepAc
|
||||||
return multistep.ActionHalt
|
return multistep.ActionHalt
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Check for interrupts between typing things so we can cancel
|
||||||
|
// since this isn't the fastest thing.
|
||||||
|
if _, ok := state[multistep.StateCancelled]; ok {
|
||||||
|
return multistep.ActionHalt
|
||||||
|
}
|
||||||
|
|
||||||
vncSendString(c, command)
|
vncSendString(c, command)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue