mirror of
https://github.com/OpenNebula/one.git
synced 2025-02-15 05:57:23 +03:00
remove-xen: Do not load VMware drivers and imported actions
This commit is contained in:
parent
67ba59ada1
commit
baa5fb814f
@ -2574,11 +2574,6 @@ int VirtualMachineManager::load_mads(int uid)
|
||||
vmm_driver = new LibVirtDriver(uid, vattr->value(),
|
||||
(uid != 0),vmpool,"qemu");
|
||||
}
|
||||
else if ( type == "VMWARE" )
|
||||
{
|
||||
vmm_driver = new LibVirtDriver(uid, vattr->value(),
|
||||
(uid != 0),vmpool,"vmware");
|
||||
}
|
||||
else if ( type == "XML" )
|
||||
{
|
||||
vmm_driver = new XMLDriver(uid, vattr->value(),(uid != 0),vmpool);
|
||||
|
@ -99,8 +99,7 @@ VirtualMachineManagerDriver::VirtualMachineManagerDriver(
|
||||
|
||||
if (it != attrs.end())
|
||||
{
|
||||
if ( it->second == "kvm" || it->second == "xen3" ||
|
||||
it->second == "xen" || it->second == "vmware" )
|
||||
if ( it->second == "kvm" || it->second == "xen" )
|
||||
{
|
||||
action_defaults = imported_actions_default;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user