Bug 736951

Summary: RFE: select iso image/url first and generate suggested guest name from it
Product: [Community] Virtualization Tools Reporter: Jens Petersen <petersen>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: berrange, crobinso, dougsland, dpierce, hbrock, jforbes, virt-maint, xen-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-01 21:44:44 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jens Petersen 2011-09-09 07:37:37 UTC
Description of problem:
I find I often just want the guest name to be based on
the iso image I am installing.  How about first selecting
the file or url to install and then asking for the guest
name, defaulting to something derived from the iso or url?

Steps to Reproduce:
1. Click new guest icon
2. try to remember name of image or write a placeholder
3. select local or net install
4. select iso (or input url)
  
Actual results:
5. copy part of iso file name and return to first page to fix guest name
6. click forward to continue guest setup


Expected results:
2. select iso or input url
3. check guest name generated from iso filename or url
eg Fedora-16-Alpha-i686-Live-Desktop.iso -> Fedora-16-Alpha-i686-Live-Desktop
http://download.fedoraproject.org/pub/fedora/linux/releases/15/Fedora/x86_64/os/ -> Fedora-15-x86_64
even just being able to copy the filename first before naming would be an improvement.
4. get faster to install and profit

Comment 1 Cole Robinson 2011-09-19 16:10:36 UTC
Yes that would be useful, but to really get there we need some more plumbing. We need improved media detection capabilities so we can actually populate a sensisble name for most cases. This is being worked on ATM

We could probably shift the UI by removing the Name field from the first page, and making the Name: section on the final page an editable text entry, automatically populated with our generated name.

Comment 2 Cole Robinson 2013-10-01 21:44:44 UTC
There's a simple version of this upstream now: name was moved to the last page, and we generate one from the detected or selected distro. So you'll get fedora20, or fedora20-2 if that conflicts, etc. We can get fancier with this when we switch to libosinfo and have better media detection, but for now it's something to work with.