If creating a PV domain, show the serial terminal instead of VNC console (temporary until PV vfb works)
This commit is contained in:
parent
5761f62b02
commit
a7fbcb1ec8
|
@ -8,7 +8,7 @@ msgid ""
|
|||
msgstr ""
|
||||
"Project-Id-Version: PACKAGE VERSION\n"
|
||||
"Report-Msgid-Bugs-To: \n"
|
||||
"POT-Creation-Date: 2006-08-18 14:30-0400\n"
|
||||
"POT-Creation-Date: 2006-08-18 15:21-0400\n"
|
||||
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
||||
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
||||
"Language-Team: LANGUAGE <LL@li.org>\n"
|
||||
|
@ -63,7 +63,7 @@ msgstr ""
|
|||
msgid "Couldn't open console: "
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:258
|
||||
#: ../../src/virtManager/create.py:261
|
||||
#, python-format
|
||||
msgid ""
|
||||
"Congratulations, you have successfully created a new virtual system, <b>\"%s"
|
||||
|
@ -72,86 +72,86 @@ msgid ""
|
|||
"manager."
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:299
|
||||
#: ../../src/virtManager/create.py:302
|
||||
msgid "Installs from local CD are not yet supported"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:304
|
||||
#: ../../src/virtManager/create.py:307
|
||||
msgid "Invalid FV media address"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:313
|
||||
#: ../../src/virtManager/create.py:316
|
||||
msgid "Invalid PV media address"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:321
|
||||
#: ../../src/virtManager/create.py:324
|
||||
msgid "Invalid system name"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:329
|
||||
#: ../../src/virtManager/create.py:332
|
||||
msgid "Invalid memory setting"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:348
|
||||
#: ../../src/virtManager/create.py:351
|
||||
msgid "Invalid storage address"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:363
|
||||
#: ../../src/virtManager/create.py:366
|
||||
msgid "Creating Virtual Machine"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:396
|
||||
#: ../../src/virtManager/create.py:399
|
||||
msgid "Locate ISO Image"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:433
|
||||
#: ../../src/virtManager/create.py:436
|
||||
msgid "Locate Storage Partition"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:439
|
||||
#: ../../src/virtManager/create.py:442
|
||||
msgid "Locate or Create New Storage File"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:491
|
||||
#: ../../src/virtManager/create.py:494
|
||||
msgid "Invalid System Name"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:492
|
||||
#: ../../src/virtManager/create.py:495
|
||||
msgid ""
|
||||
"System name must be non-blank, less than 50 characters, and contain no spaces"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:497
|
||||
#: ../../src/virtManager/create.py:500
|
||||
msgid "Hardware Support Required"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:498
|
||||
#: ../../src/virtManager/create.py:501
|
||||
msgid ""
|
||||
"Your hardware does not appear to support full virtualization. Only "
|
||||
"paravirtualized guests will be available on this hardware."
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:504
|
||||
#: ../../src/virtManager/create.py:507
|
||||
msgid "ISO Location Required"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:505
|
||||
#: ../../src/virtManager/create.py:508
|
||||
msgid "You must specify an ISO location for the guest install image"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:510
|
||||
#: ../../src/virtManager/create.py:513
|
||||
msgid "URL Required"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:511
|
||||
#: ../../src/virtManager/create.py:514
|
||||
msgid "You must specify a URL for the install image for the guest install"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:516
|
||||
#: ../../src/virtManager/create.py:519
|
||||
msgid "Storage Address Required"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/create.py:517
|
||||
#: ../../src/virtManager/create.py:520
|
||||
msgid ""
|
||||
"You must specify a partition or a file for storage for the guest install"
|
||||
msgstr ""
|
||||
|
@ -190,15 +190,15 @@ msgstr ""
|
|||
msgid "Error refreshing connection '%s'"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/engine.py:242
|
||||
#: ../../src/virtManager/engine.py:243
|
||||
msgid "Save requested, but machine is shutdown / shutoff / paused"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/engine.py:244
|
||||
#: ../../src/virtManager/engine.py:245
|
||||
msgid "Save Virtual Machine"
|
||||
msgstr ""
|
||||
|
||||
#: ../../src/virtManager/engine.py:257
|
||||
#: ../../src/virtManager/engine.py:258
|
||||
msgid "Saving Virtual Machine"
|
||||
msgstr ""
|
||||
|
||||
|
|
|
@ -42,7 +42,10 @@ VM_STORAGE_FILE = 2
|
|||
class vmmCreate(gobject.GObject):
|
||||
__gsignals__ = {
|
||||
"action-show-console": (gobject.SIGNAL_RUN_FIRST,
|
||||
gobject.TYPE_NONE, (str,str)),}
|
||||
gobject.TYPE_NONE, (str,str)),
|
||||
"action-show-terminal": (gobject.SIGNAL_RUN_FIRST,
|
||||
gobject.TYPE_NONE, (str,str)),
|
||||
}
|
||||
def __init__(self, config, connection):
|
||||
self.__gobject_init__()
|
||||
self.config = config
|
||||
|
@ -535,6 +538,7 @@ class vmmCreate(gobject.GObject):
|
|||
def open_vm_console(self,ignore,uri,uuid):
|
||||
print "********* create.py: got vm-added signal. uuid = %s, self.vm_uuid = %s" % (uuid, self.vm_uuid)
|
||||
if uuid == self.vm_uuid:
|
||||
self.emit("action-show-console", self.connection.get_uri(), self.vm_uuid)
|
||||
|
||||
|
||||
if (self.virt_method == VM_PARAVIRT):
|
||||
self.emit("action-show-terminal", self.connection.get_uri(), self.vm_uuid)
|
||||
else:
|
||||
self.emit("action-show-console", self.connection.get_uri(), self.vm_uuid)
|
||||
|
|
|
@ -213,6 +213,7 @@ class vmmEngine:
|
|||
if self.windowCreate == None:
|
||||
self.windowCreate = vmmCreate(self.get_config(), self.get_connection(uri, False))
|
||||
self.windowCreate.connect("action-show-console", self._do_show_console)
|
||||
self.windowCreate.connect("action-show-terminal", self._do_show_terminal)
|
||||
self.windowCreate.reset_state()
|
||||
self.windowCreate.show()
|
||||
|
||||
|
|
Loading…
Reference in New Issue