From Fedora Project Wiki

(Unbutcher that last change)
(Fix syntax error)
(11 intermediate revisions by the same user not shown)
Line 7: Line 7:


|actions=
|actions=
=== Test OS detection on the URL ===
{{admon/note | Fedora 22 URLs are detected as Fedora 21 | see bug 1211797}}
This will determine if the virt-install/virt-manager can detect an OS from the URL. Feel free to try this with as many different OS install trees that you want, and file a bug against virt-manager if the output doesn't match the expected results.
For F21 alpha, this looks like
* <code>sudo virt-install --test-media-detection https://dl.fedoraproject.org/pub/alt/stage/22_Beta_RC2/Workstation/x86_64/os/</code>


=== virt-manager ===
=== virt-manager ===
{{admon/warning | Mirrors may be incomplete | If you have issues with the links below, use a non-mirrormanager link like http://mirror.pnl.gov/fedora/linux/development/20/x86_64/os/ }}
# Run virt-manager (should autoconnect to qemu)
# Run virt-manager (should autoconnect to qemu)
# Launch the 'New VM' wizard
# Launch the 'New VM' wizard
# Choose the 'Network install' option
# Choose the 'Network install' option
# Enter the following URL for the latest fedora development bits: http://download.fedoraproject.org/pub/fedora/linux/development/20/x86_64/os/
# Enter the following URL for the latest fedora development bits: https://dl.fedoraproject.org/pub/alt/stage/22_Beta_RC2/Workstation/x86_64/os/
# Press enter when the URL field is active: virt-manager should auto detect the URL as a recent fedora distro
# Press enter when the URL field is active: virt-manager should auto detect the URL as a recent fedora distro
# Proceed with through the wizard, using the default suggested values. On the final page, use the VM name: test-day-vm
# Proceed with through the wizard, using the default suggested values. On the final page, use the VM name: test-day-vm
Line 23: Line 31:
An example virt-install invocation looks like
An example virt-install invocation looks like


  $> virt-install --name test-day-vm --ram 2048 \
sudo virt-install --name test-day-vm --ram 2048 --disk size=10 \
        --disk path=/var/lib/libvirt/images/test-day-vm.img,size=10 \
          --location https://dl.fedoraproject.org/pub/alt/stage/22_Beta_RC2/Workstation/x86_64/os/
        --location http://download.fedoraproject.org/pub/fedora/linux/development/20/x86_64/os/


|results=
|results=

Revision as of 14:13, 15 April 2015

Description

Install a Fedora guest from an install tree URL using virt-install or virt-manager.

Setup

Nothing beyond initial test day setup.

How to test

Test OS detection on the URL

Note.png
Fedora 22 URLs are detected as Fedora 21
see bug 1211797

This will determine if the virt-install/virt-manager can detect an OS from the URL. Feel free to try this with as many different OS install trees that you want, and file a bug against virt-manager if the output doesn't match the expected results.

For F21 alpha, this looks like

virt-manager

  1. Run virt-manager (should autoconnect to qemu)
  2. Launch the 'New VM' wizard
  3. Choose the 'Network install' option
  4. Enter the following URL for the latest fedora development bits: https://dl.fedoraproject.org/pub/alt/stage/22_Beta_RC2/Workstation/x86_64/os/
  5. Press enter when the URL field is active: virt-manager should auto detect the URL as a recent fedora distro
  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

sudo virt-install --name test-day-vm --ram 2048 --disk size=10 \
         --location https://dl.fedoraproject.org/pub/alt/stage/22_Beta_RC2/Workstation/x86_64/os/

Expected Results

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