wilas / vbkick

Tool for building and maintaining VirtualBox VMs described as a code in a single definition file.
Other
8 stars 5 forks source link

Can I use the keyboard while vbkick build? #58

Closed gregelin closed 10 years ago

gregelin commented 10 years ago

A couple times I have seen extra characters in kickstart file name during initial build. Also Ubuntu 14.04 build appeared to have froze.

Is it possible that any use of keyboard during process will confuse vbkick? Maybe if VM window active and touching keys?

wilas commented 10 years ago

You can use keyboard but not in the active VM window when vbkick is typing, because you are modifying what was send to the VM - like with 2 independent keyboards attached to the same PC and typing on both of them in the same time.

If you have a problem with active window you can use gui_enabled=0 option in your vbmachine.cfg to start headless VM.

Hint: Use ENV variables may be convenient in this case:

# in vbmachine.cfg:
gui_enabled=${GUI:-1} #use value of GUI env variable or 1 if GUI variable is not setup 

# command line:
GUI=0 vbkick build myVM    #headless vm
vbkick shutdown myVM       #shutdown vm
vbkick on myVM             #start vm again but with gui
gregelin commented 10 years ago

Thanks. That makes sense.

Thanks too for the tip on environmental variables.