mirror of
https://github.com/OpenNebula/one.git
synced 2025-04-01 06:50:25 +03:00
M #-: Change the default emulator path
Now it points to the qemu-kvm-one script that adjust to each distro. The qemu-kvm-one link is generated by the node-kvm packages.
This commit is contained in:
parent
2075b02cf4
commit
c7f550fd2d
@ -1025,9 +1025,10 @@ int LibVirtDriver::deployment_description_kvm(
|
||||
file << "\t<devices>" << endl;
|
||||
|
||||
get_attribute(vm, host, cluster, "EMULATOR", emulator_path);
|
||||
|
||||
if (emulator_path.empty())
|
||||
{
|
||||
emulator_path = "/usr/bin/kvm";
|
||||
emulator_path = "/usr/bin/qemu-kvm-one";
|
||||
}
|
||||
|
||||
file << "\t\t<emulator>" << one_util::escape_xml(emulator_path)
|
||||
|
Loading…
x
Reference in New Issue
Block a user