From Fedora Project Wiki
Description
A full cross-architecture build and platform conversion in one command.
Setup
Clone the BoxGrinder test appliances into a convenient location using command git clone https://github.com/msavy/boxgrinder-appliances.git
How to test
- Navigate to directory
boxgrinder-appliances/testing-appliances/jeos-appls/
- Execute BoxGrinder with
setarch
. You may want to use a specific platform format, such as vmware or EC2, see: http://boxgrinder.org/tutorials/boxgrinder-build-plugins/#Platform_pluginssetarch i386 boxgrinder-build fedora-15-jeos.appl -p virtualbox
- Run the produced vdi file in your favourite virtualization application:
build/appliances/i686/fedora/15/f15-jeos/virtualbox-plugin/f15-jeos.vdi
- Log in with user:
root
password:boxgrinder
- Executing
uname -i
should indicate i386 (32 bit) - Run the following Test Case in the VM: QA:Network_basic_test_case
Expected Results
The following must be true to consider this a successful test run.
- Step #2 completes without error (indicated on console)
- Program completes with exit code 0
- Successfully boot and log into the VirtualBox appliance without error
- Step #3 indicates the expected architecture (i386/i686)
- QA:Network_basic_test_case is performed successfully on the new appliance