From Fedora Project Wiki
(Initial creation) |
(Add os variant to virt-install example) |
||
(11 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
{{QA/Test_Case | {{QA/Test_Case | ||
|description=Install a Fedora guest from an install tree URL using virt-install or virt-manager. | |description= | ||
Install a Fedora guest from an install tree URL using virt-install or virt-manager. | |||
|setup=Nothing beyond initial test day setup. | |setup= | ||
Nothing beyond initial test day setup. | |||
|actions= | |actions= | ||
=== virt-manager === | === virt-manager === | ||
# 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 | ||
# Enter | # Enter the following URL for the latest fedora development bits: http://dl.fedoraproject.org/pub/fedora/linux/releases/test/20-Alpha/Fedora/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. | # 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 21: | ||
An example virt-install invocation looks like | An example virt-install invocation looks like | ||
$> virt-install --name | $> virt-install --name test-day-vm --ram 2048 \ | ||
--disk path=/var/lib/libvirt/images/ | --os-variant fedora20 \ | ||
--location http:// | --disk path=/var/lib/libvirt/images/test-day-vm.img,size=10 \ | ||
--location http://dl.fedoraproject.org/pub/fedora/linux/releases/test/20-Alpha/Fedora/x86_64/os | |||
|results= | |results= |
Revision as of 19:48, 8 January 2014
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
virt-manager
- Run virt-manager (should autoconnect to qemu)
- Launch the 'New VM' wizard
- Choose the 'Network install' option
- Enter the following URL for the latest fedora development bits: http://dl.fedoraproject.org/pub/fedora/linux/releases/test/20-Alpha/Fedora/x86_64/os
- 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
- 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 \ --os-variant fedora20 \ --disk path=/var/lib/libvirt/images/test-day-vm.img,size=10 \ --location http://dl.fedoraproject.org/pub/fedora/linux/releases/test/20-Alpha/Fedora/x86_64/os
Expected Results
Guest installations start and perform without any issues. Guest is bootable after install completes.