From 714814f2b591d157478a66e405c75b0546d6ce2a Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Fri, 1 Sep 2006 14:08:34 -0400 Subject: [PATCH] some text tweaks. also, don't ask about PV vs FV if not on a FV capable box --- src/virt-manager.glade | 6 ++---- src/virtManager/create.py | 7 +++++-- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/virt-manager.glade b/src/virt-manager.glade index 5bdb502e..f8504caf 100644 --- a/src/virt-manager.glade +++ b/src/virt-manager.glade @@ -8245,7 +8245,7 @@ TB True - <span weight="heavy" size="xx-large" foreground="#FFF">Finished creating a new virtual system</span> + <span weight="heavy" size="xx-large" foreground="#FFF">Ready to begin installation</span> False True GTK_JUSTIFY_FILL @@ -8286,9 +8286,7 @@ TB True - Congratulations, you have successfully created a new virtual system, <b>$SYSTEM_NAME</b>. - -You'll now be able to view and work with $SYSTEM_NAME in the virtual machine manager. + You are now ready to begin your installation of $SYSTEM_NAME. Once installation is complete, you will be able to view and work with $SYSTEM_NAME in the virtual machine manager. False True GTK_JUSTIFY_LEFT diff --git a/src/virtManager/create.py b/src/virtManager/create.py index 85eb05d1..fbff3aa2 100644 --- a/src/virtManager/create.py +++ b/src/virtManager/create.py @@ -21,7 +21,7 @@ import gobject import gtk import gtk.gdk import gtk.glade -import xeninst +import xeninst import os, sys import subprocess import urlgrabber.grabber as grabber @@ -153,7 +153,10 @@ class vmmCreate(gobject.GObject): if(self.validate(notebook.get_current_page()) != True): return - if (notebook.get_current_page() == 2 and self.virt_method == VM_PARAVIRT): + if notebook.get_current_page() == 1 and not xeninst.util.is_hvm_capable(): + notebook.set_current_page(4) + self.virt_method = VM_PARAVIRT + elif (notebook.get_current_page() == 2 and self.virt_method == VM_PARAVIRT): notebook.set_current_page(4) elif (notebook.get_current_page() == 3 and self.virt_method == VM_FULLY_VIRT): notebook.set_current_page(5)