(virt-install: Use short --disk format) |
(Fix syntax error) |
||
(6 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
|setup= | |setup= | ||
* Install media listed on the main test day page. Live CD or DVD is sufficient. | |||
|actions= | |actions= | ||
=== Test OS detection on your media === | |||
{{admon/note | No OS is detected for Fedora Server media | See bug 1211796}} | |||
{{admon/note | Fedora 22 workstation media is detected as Fedora 21 | see bug 1211797}} | |||
This will determine if the virt tools/libosinfo can detect an OS from your ISO media or CDROM. Feel free to try this with as many ISOs as you've got kicking around, and file a bug against libosinfo if the output doesn't match the expected results. | |||
* Grab the media of your choice, latest Fedora bits are linked here: https://fedoraproject.org/wiki/Test_Day:2015-04-16_Virtualization#Install_with_CD.2FDVD | |||
* <code>sudo virt-install --test-media-detection /path/to/your/media.iso</code> | |||
=== virt-manager === | === virt-manager === | ||
Line 13: | Line 23: | ||
# Launch the 'New VM' wizard | # Launch the 'New VM' wizard | ||
# Choose 'Local Install Media' | # Choose 'Local Install Media' | ||
# Select | # Select your ISO media. | ||
# | # If virt-install detected your media in the above step, verify the UI automatically selects the same distro. | ||
# Proceed | # Proceed 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 32: | ||
An example virt-install invocation looks like: | An example virt-install invocation looks like: | ||
$> virt-install --name test-day-vm --ram 2048 --disk size=10 \ | $> sudo virt-install --name test-day-vm --ram 2048 --disk size=10 \ | ||
--cdrom /path/to/my/media.iso --os-variant | --cdrom /path/to/my/media.iso --os-variant fedora21 | ||
If virt-install detected your media in the above step, the --os-variant value isn't strictly required. | |||
Also 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 | |||
|results= | |results= |
Latest revision as of 14:14, 15 April 2015
Description
Install a Fedora guest from CDROM/DVD media, either physical media or ISO file.
Setup
- Install media listed on the main test day page. Live CD or DVD is sufficient.
How to test
Test OS detection on your media
This will determine if the virt tools/libosinfo can detect an OS from your ISO media or CDROM. Feel free to try this with as many ISOs as you've got kicking around, and file a bug against libosinfo if the output doesn't match the expected results.
- Grab the media of your choice, latest Fedora bits are linked here: https://fedoraproject.org/wiki/Test_Day:2015-04-16_Virtualization#Install_with_CD.2FDVD
sudo virt-install --test-media-detection /path/to/your/media.iso
virt-manager
- Run virt-manager (should autoconnect to qemu)
- Launch the 'New VM' wizard
- Choose 'Local Install Media'
- Select your ISO media.
- If virt-install detected your media in the above step, verify the UI automatically selects the same distro.
- Proceed 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:
$> sudo virt-install --name test-day-vm --ram 2048 --disk size=10 \ --cdrom /path/to/my/media.iso --os-variant fedora21
If virt-install detected your media in the above step, the --os-variant value isn't strictly required.
Also 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
- Guest installations start and perform without any issues.
- Guest is bootable after install completes.