QA:Testcase Virtualization Import Guest Install

From FedoraProject

Revision as of 13:02, 8 October 2013 by Crobinso (Talk | contribs)

Jump to: navigation, search

Contents

Description

Import an existing VM disk image.

Setup

Note.png
A pre-existing VM image is required.
If you don't have a pre-existing VM image, please skip this test.

Initial test day setup, a pre-existing VM image.

How to test

virt-manager

  1. Run virt-manager (should autoconnect to qemu)
  2. Launch the 'New VM' wizard
  3. Choose the 'Import' option
  4. Browse to the existing VM image.
  5. Make sure to enter a valid OS type, it's important for performance defaults.
  6. Proceed with through the wizard, using the default suggested values.
  7. On the final page, use the VM name: test-day-vm
  8. Finish the install, verify your VM boots as expected. Depending on the OS and content of the image, additional devices may need to be configured in the 'customize before install' step.

virt-install

An example virt-install invocation looks like

 $> virt-install --name test-day-vm --ram 2048 \
        --disk path=/path/to/my/existing/vm/disk.img \
        --os-variant fedora20 \
        --import

Expected Results

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