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_QEMU = 1
|
||||
HV_LXC = 2
|
||||
|
||||
CONN_SSH = 0
|
||||
CONN_TCP = 1
|
||||
@ -293,8 +294,10 @@ class vmmConnect(vmmGObjectUI):
|
||||
hvstr = ""
|
||||
if hv == HV_XEN:
|
||||
hvstr = "xen"
|
||||
else:
|
||||
elif hv == HV_QEMU:
|
||||
hvstr = "qemu"
|
||||
else:
|
||||
hvstr = "lxc"
|
||||
|
||||
addrstr = ""
|
||||
if user:
|
||||
|
@ -24,7 +24,8 @@
|
||||
<widget class="GtkComboBox" id="hypervisor">
|
||||
<property name="visible">True</property>
|
||||
<property name="items" translatable="yes">Xen
|
||||
QEMU/KVM</property>
|
||||
QEMU/KVM
|
||||
LXC (Linux Containers)</property>
|
||||
<accessibility>
|
||||
<atkproperty name="AtkObject::accessible-name" translatable="yes">Hypervisor Select</atkproperty>
|
||||
</accessibility>
|
||||
|
Loading…
Reference in New Issue
Block a user