mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
connect: Add LXC to 'open connection' dialog
This commit is contained in:
parent
9427f75416
commit
e9f365f11d
@ -30,6 +30,7 @@ from virtManager.baseclass import vmmGObjectUI
|
|||||||
|
|
||||||
HV_XEN = 0
|
HV_XEN = 0
|
||||||
HV_QEMU = 1
|
HV_QEMU = 1
|
||||||
|
HV_LXC = 2
|
||||||
|
|
||||||
CONN_SSH = 0
|
CONN_SSH = 0
|
||||||
CONN_TCP = 1
|
CONN_TCP = 1
|
||||||
@ -293,8 +294,10 @@ class vmmConnect(vmmGObjectUI):
|
|||||||
hvstr = ""
|
hvstr = ""
|
||||||
if hv == HV_XEN:
|
if hv == HV_XEN:
|
||||||
hvstr = "xen"
|
hvstr = "xen"
|
||||||
else:
|
elif hv == HV_QEMU:
|
||||||
hvstr = "qemu"
|
hvstr = "qemu"
|
||||||
|
else:
|
||||||
|
hvstr = "lxc"
|
||||||
|
|
||||||
addrstr = ""
|
addrstr = ""
|
||||||
if user:
|
if user:
|
||||||
|
@ -24,7 +24,8 @@
|
|||||||
<widget class="GtkComboBox" id="hypervisor">
|
<widget class="GtkComboBox" id="hypervisor">
|
||||||
<property name="visible">True</property>
|
<property name="visible">True</property>
|
||||||
<property name="items" translatable="yes">Xen
|
<property name="items" translatable="yes">Xen
|
||||||
QEMU/KVM</property>
|
QEMU/KVM
|
||||||
|
LXC (Linux Containers)</property>
|
||||||
<accessibility>
|
<accessibility>
|
||||||
<atkproperty name="AtkObject::accessible-name" translatable="yes">Hypervisor Select</atkproperty>
|
<atkproperty name="AtkObject::accessible-name" translatable="yes">Hypervisor Select</atkproperty>
|
||||||
</accessibility>
|
</accessibility>
|
||||||
|
Loading…
Reference in New Issue
Block a user