From Fedora Project Wiki

(fix paths for rawhide)
m (fix formatting)
Line 10: Line 10:
</pre>
</pre>


{{admon/tip|Choose the right $HOME|Please note the location of $HOME (~/) will vary, depending upon the manner in which you elevated to root privileges. Ensure you place the configuration file in the correct location for your preferred method.}}
{{admon/tip|Choose the right $HOME|Please note the location of $HOME (~/) will vary depending upon the manner in which you elevated to root privileges. Ensure you place the configuration file in the correct location for your preferred method.}}


|actions=
|actions=
# Navigate to directory <code>boxgrinder-appliances/testing-appliances/jeos-appls/</code>
# Navigate to directory <code>boxgrinder-appliances/testing-appliances/jeos-appls/</code>
# Execute <code>boxgrinder-build fedora-rawhide-jeos.appl -p vmware</code>
# Execute <code>boxgrinder-build fedora-rawhide-jeos.appl -p vmware</code>
# Run the vmdk/vmx files <code>build/appliances/$basearch/fedora/rawhide/Rawhide-jeos/vmware-plugin/fedora-rawhide.vmdk</code> and <code>build/appliances/$basearch/fedora/rawhide/Rawhide-jeos/vmware-plugin/fedora-rawhide.vmx</code> in your favourite virtualization application.  Replace '''$basearch'''' in the paths with your architecture (uname -i).
# Run the vmdk/vmx files <code>build/appliances/$basearch/fedora/rawhide/Rawhide-jeos/vmware-plugin/fedora-rawhide.vmdk</code> and <code>build/appliances/$basearch/fedora/rawhide/Rawhide-jeos/vmware-plugin/fedora-rawhide.vmx</code> in your favourite virtualization application.  Replace '''$basearch''' in the paths with your architecture, for example:'''<code>uname -i</code>'''
# Log in with user: <code>root</code> password: <code>boxgrinder</code>   
# Log in with user: <code>root</code> password: <code>boxgrinder</code>   
# Run the following Test Case in the VM: [[QA:Network_basic_test_case]]
# Run the following Test Case in the VM: [[QA:Network_basic_test_case]]

Revision as of 12:12, 22 April 2011

Description

We are converting the JEOS build to the vmware platform format.

Setup

Clone the BoxGrinder test appliances into a convenient location using command git clone https://github.com/msavy/boxgrinder-appliances.git

Put the following BoxGrinder config into a file named: ~/.boxgrinder/config

plugins:
  vmware:
    type: enterprise
    thin_disk: true
Idea.png
Choose the right $HOME
Please note the location of $HOME (~/) will vary depending upon the manner in which you elevated to root privileges. Ensure you place the configuration file in the correct location for your preferred method.

How to test

  1. Navigate to directory boxgrinder-appliances/testing-appliances/jeos-appls/
  2. Execute boxgrinder-build fedora-rawhide-jeos.appl -p vmware
  3. Run the vmdk/vmx files build/appliances/$basearch/fedora/rawhide/Rawhide-jeos/vmware-plugin/fedora-rawhide.vmdk and build/appliances/$basearch/fedora/rawhide/Rawhide-jeos/vmware-plugin/fedora-rawhide.vmx in your favourite virtualization application. Replace $basearch in the paths with your architecture, for example:uname -i
  4. Log in with user: root password: boxgrinder
  5. 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.

  1. Step #2 completes without error (indicated on console)
  2. Program completes with exit code 0
  3. Successfully boot and log into the vmware appliance without error
  4. QA:Network_basic_test_case is performed successfully on the new appliance