Bug 863309 - guess OS type from iso name or url
Summary: guess OS type from iso name or url
Keywords:
Status: CLOSED DUPLICATE of bug 500320
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-05 04:06 UTC by Jens Petersen
Modified: 2012-10-24 19:24 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-10-14 01:03:31 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jens Petersen 2012-10-05 04:06:43 UTC
Description of problem:
It would be nice if virt-manager tried to be a little clever
and guess OS type from the iso name or URL given to it.
If I am installing Fedora-*.iso there is a reasonable chance
that the OS is Linux/Fedora.

This RFE is kind of an extension of bug 736951 ...

Steps to Reproduce:
1. setup an install from a Fedora iso or url
  
Actual results:
1. virt-manager doesn't default OS type to Linux/Fedora

Expected results:
1. default to Linux

Comment 1 Daniel Berrangé 2012-10-08 10:17:43 UTC
ISO filenames are somewhat unreliable, but it is possible to identify OS from the metadata fields in the ISO filesystem. libosinfo provides APIs & information required todo this.

Comment 2 Cole Robinson 2012-10-14 01:03:31 UTC
Thanks for the report, I'm just gonna fold this into the 'use libosinfo' report

*** This bug has been marked as a duplicate of bug 500320 ***

Comment 3 Jens Petersen 2012-10-18 12:27:39 UTC
Ok thanks.


(On a somewhat related note I was wondering also
why Linux is listed as the last choice?)

Comment 4 Cole Robinson 2012-10-24 19:24:28 UTC
(In reply to comment #3)
> Ok thanks.
> 
> 
> (On a somewhat related note I was wondering also
> why Linux is listed as the last choice?)

Yeah that's weird, I fixed it upstream:

http://git.fedorahosted.org/cgit/virt-manager.git/commit/?id=8f6b1f977b01a0b9057a4ade6813f41650887fc8


Note You need to log in before you can comment on or make changes to this bug.