jedi4ever/veewee — Issue #207: Fully automatic installation impossible when installing X.org
Author: ringe
Created: 2012-01-14 09:10:03+00:00
State: open

I'm installing a basic LXDE-based box using Veewee. Using the tip from #45 I tried to install headless because I always have to watch for these VirtualBox messages that says something about 32bit versus 16bit or 24bit. The messages let me say I don't want to see this message again, but I have to answer that every time I create a new box for testing the build.

I thought using headless would get rid of this, but the display window comes up on reboot.

The problem is that, since I leave the computer while awaiting the build, the unanswered question leads to a Veewee crash:
Step [2] was successfully - saving state
/home/runar/.rvm/gems/ruby-1.9.2-p290/gems/virtualbox-0.9.2/lib/virtualbox/com/implementer/ffi.rb:106:in `call_and_check': Error in API call to lock_machine: 2159738887 (VirtualBox::Exceptions::InvalidObjectStateException)
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/virtualbox-0.9.2/lib/virtualbox/com/implementer/ffi.rb:80:in `call_vtbl_function'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/virtualbox-0.9.2/lib/virtualbox/com/implementer/ffi.rb:61:in `call_function'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/virtualbox-0.9.2/lib/virtualbox/com/abstract_interface.rb:145:in `call_function'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/virtualbox-0.9.2/lib/virtualbox/com/abstract_interface.rb:62:in `block in function'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/virtualbox-0.9.2/lib/virtualbox/vm.rb:409:in `with_open_session'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/virtualbox-0.9.2/lib/virtualbox/vm.rb:474:in `take_snapshot'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/veewee-0.2.2/lib/veewee/session.rb:897:in `transaction'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/veewee-0.2.2/lib/veewee/session.rb:343:in `block in build'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/veewee-0.2.2/lib/veewee/session.rb:338:in `each'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/veewee-0.2.2/lib/veewee/session.rb:338:in `build'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/veewee-0.2.2/lib/veewee/command.rb:46:in `build'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:109:in `invoke'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor.rb:205:in `block in subcommand'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/task.rb:22:in `run'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/invocation.rb:118:in `invoke_task'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor.rb:263:in `dispatch'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/thor-0.14.6/lib/thor/base.rb:389:in `start'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/gems/vagrant-0.8.10/bin/vagrant:26:in `'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/bin/vagrant:19:in `load'
from /home/runar/.rvm/gems/ruby-1.9.2-p290/bin/vagrant:19:in `

'

So, how can I:
a) Tell VirtualBox to stop informing me about whatever with popup questions, or
b) Tell Veewee to check the "never again" and answer ok on all questions from VirtualBox