[gnome-boxes] wizard: Do create VM for non-unattended installers
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] wizard: Do create VM for non-unattended installers
- Date: Thu, 5 Jul 2012 16:59:40 +0000 (UTC)
commit c54ae478aa2b9e6dd66434ce1d83cd6dddf1d827
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Wed Jul 4 21:10:25 2012 +0300
wizard: Do create VM for non-unattended installers
This fixes another critical regression from commit 13bca42.
https://bugzilla.gnome.org/show_bug.cgi?id=678894
src/wizard.vala | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/wizard.vala b/src/wizard.vala
index 9dfa236..0a7060d 100644
--- a/src/wizard.vala
+++ b/src/wizard.vala
@@ -310,9 +310,10 @@ private class Boxes.Wizard: Boxes.UI {
nokvm_label.hide ();
summary.clear ();
- if (vm_creator != null && vm_creator.install_media is UnattendedInstaller) {
+ if (vm_creator != null) {
try {
- (vm_creator.install_media as UnattendedInstaller).check_needed_info ();
+ if (vm_creator.install_media is UnattendedInstaller)
+ (vm_creator.install_media as UnattendedInstaller).check_needed_info ();
machine = yield vm_creator.create_vm (null);
} catch (IOError.CANCELLED cancel_error) { // We did this, so ignore!
return false;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]