From Fedora Project Wiki

m (Update RAM to be consistent across install test cases, update --os-variant value)
No edit summary
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{QA/Test_Case
{{QA/Test_Case
|description=
|description=
Install a Fedora guest from CDROM/DVD media
Install a Fedora guest from CDROM/DVD media, either physical media or ISO file.


|setup=
|setup=
Install media listed on the main test day page. Live CD or DVD is sufficient.
#Install media listed on the main test day page. Live CD or DVD is sufficient.


|actions=
|actions=
Line 12: Line 12:
# Run virt-manager (should autoconnect to qemu)
# Run virt-manager (should autoconnect to qemu)
# Launch the 'New VM' wizard
# Launch the 'New VM' wizard
# Enter any name, choose 'Local Install Media'
# Choose 'Local Install Media'
# Select the ISO that you downloaded.
# Select the ISO that you downloaded.
# Manually set OS distro value to the version of Fedora being installed.
# Manually set OS distro value to the version of Fedora being installed.
# Proceed with through the wizard, using the default suggested values.
# Proceed with through the wizard, using the default suggested values. On the final page, use the VM name: test-day-vm
# Start the install, and perform the install as you would on a normal machine.
# Start the install, and perform the install as you would on a normal machine.


Line 22: Line 22:
An example virt-install invocation looks like:
An example virt-install invocation looks like:


   $> virt-install --name fedoratestday --ram 2048 \
   $> virt-install --name test-day-vm --ram 2048 \
         --disk path=/var/lib/libvirt/images/fedoratestday.img,size=10 \
         --disk path=/var/lib/libvirt/images/fedoratestday.img,size=10 \
         --cdrom /path/to/my/media.iso --os-variant fedora20
         --cdrom /path/to/my/media.iso --os-variant fedora20
Line 30: Line 30:
|results=
|results=


Guest installations start and perform without any issues. Guest is bootable after install completes.
#Guest installations start and perform without any issues.  
#Guest is bootable after install completes.


}}
}}


[[Category:Virtualization Test Cases]]
[[Category:Virtualization Test Cases]]

Revision as of 15:45, 7 March 2014

Description

Install a Fedora guest from CDROM/DVD media, either physical media or ISO file.

Setup

  1. Install media listed on the main test day page. Live CD or DVD is sufficient.

How to test

virt-manager

  1. Run virt-manager (should autoconnect to qemu)
  2. Launch the 'New VM' wizard
  3. Choose 'Local Install Media'
  4. Select the ISO that you downloaded.
  5. Manually set OS distro value to the version of Fedora being installed.
  6. Proceed with through the wizard, using the default suggested values. On the final page, use the VM name: test-day-vm
  7. Start the install, and perform the install as you would on a normal machine.

virt-install

An example virt-install invocation looks like:

 $> virt-install --name test-day-vm --ram 2048 \
        --disk path=/var/lib/libvirt/images/fedoratestday.img,size=10 \
        --cdrom /path/to/my/media.iso --os-variant fedora20

For virt-install, the ISO media needs to be in a location that is accessible by the 'qemu' user, otherwise the emulator won't be able to access it. A good place to put the iso is /var/lib/libvirt/images

Expected Results

  1. Guest installations start and perform without any issues.
  2. Guest is bootable after install completes.