virt-manager/5350d9cc-display-error-on-empty-installation-URL.patch

24 lines
1000 B
Diff
Raw Normal View History

Subject: virt-manager: display error on an empty installation URL
From: Giuseppe Scrivano gscrivan@redhat.com Thu Apr 17 12:00:09 2014 +0200
Date: Fri Apr 18 09:52:44 2014 +0200:
Git: b20462d86101c17bee5abf6ef55ec633622054c2
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1086529
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Index: virt-manager-1.0.1/virtManager/create.py
===================================================================
--- virt-manager-1.0.1.orig/virtManager/create.py
+++ virt-manager-1.0.1/virtManager/create.py
@@ -1308,7 +1308,8 @@ class vmmCreate(vmmGObjectUI):
if self.have_startup_error:
return
- if curpage == PAGE_INSTALL and self.should_detect_media():
+ if (curpage == PAGE_INSTALL and self.should_detect_media()
+ and self.get_config_detectable_media()):
# Make sure we have detected the OS before validating the page
self.detect_media_os(forward=True)
return