Error when building a VirtualBox appliance
salman.kagzi Dec 6, 2012 5:30 AMI am trying to create a CentOS 6 appliance with my software installed.
I have got the build file done with and am able to build appiance for
- KVM
- VirtualPC
- VMWare
- ec2
but for some reason the VirtualBox is not working. I am getting following error when trying to build a VirtualBox appliance.
D, [2012-12-05T10:49:17.298786 #1482] DEBUG -- : Conversion done.
D, [2012-12-05T10:49:17.303983 #1482] DEBUG -- : VirtualBox image was built.
F, [2012-12-05T10:49:17.322113 #1482] FATAL -- : NoMethodError: undefined method `empty?' for nil:NilClass
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/plugins/platform/virtualbox/virtualbox-plugin.rb:35:in `execute'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/plugins/base-plugin.rb:172:in `run'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/appliance.rb:184:in `execute_plugin'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/appliance.rb:200:in `block in execute_with_userchange'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/util/permissions/user-switcher.rb:27:in `call'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/util/permissions/user-switcher.rb:27:in `change_user'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/appliance.rb:199:in `execute_with_userchange'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/appliance.rb:127:in `block in execute_plugin_chain'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/appliance.rb:125:in `each'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/appliance.rb:125:in `execute_plugin_chain'
/usr/share/gems/gems/boxgrinder-build-0.10.4/lib/boxgrinder-build/appliance.rb:164:in `create'
/usr/share/gems/gems/boxgrinder-build-0.10.4/bin/boxgrinder-build:203:in `<main>'
I am using following command to build virtual box appliance:
boxgrinder-build centos6.appl -p virtualbox -d local --delivery-config path:/home/boxgrinder,overwrite:true,package:true
Can somebody let me know what I am doing wrong with this?