Feature #4320: Fix typo (DEVICE_MODE => MODEL)

This commit is contained in:
Carlos Martín committed 2016-04-22 16:49:33 +02:00
1 parent 7a00fbc079
commit 964371f7a2
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -950,7 +950,7 @@ cmd=CommandParser::CmdParser.new(ARGV) do
This command also accepts a template, the full list of configuration
attributes are (not all supported via options):
OS = ["ARCH", "MACHINE", "KERNEL", "INITRD", "BOOTLOADER", "BOOT"]
FEATURES = ["ACPI", "PAE", "APIC", "LOCALTIME", "HYPERV", "DEVICE_MODE"]
FEATURES = ["ACPI", "PAE", "APIC", "LOCALTIME", "HYPERV", "DEVICE_MODEL"]
INPUT = ["TYPE", "BUS"]
GRAPHICS = ["TYPE", "LISTEN", "PASSWD", "KEYMAP" ]
RAW = ["DATA", "DATA_VMX", "TYPE"]
+1 -1
View File
@@ -680,7 +680,7 @@ module OpenNebula
# will replace the existing ones or delete it if empty. Attributes that
# can be updated are: INPUT/{TYPE, BUS}; RAW/{TYPE, DATA, DATA_VMX},
# OS/{BOOT, BOOTLOADER, ARCH, MACHINE, KERNEL, INITRD},
# FEATURES/{ACPI, APIC, PAE, LOCALTIME, HYPERV, DEVICE_MODE},
# FEATURES/{ACPI, APIC, PAE, LOCALTIME, HYPERV, DEVICE_MODEL},
# and GRAPHICS/{TYPE, LISTEN, PASSWD, KEYMAP}
# @return [nil, OpenNebula::Error] nil in case of success, Error
# otherwise
+1 -1
View File
@@ -4926,7 +4926,7 @@ int VirtualMachine::updateconf(VirtualMachineTemplate& tmpl, string &err)
// Update FEATURES:
// -------------------------------------------------------------------------
string features_names[] = {"PAE", "ACPI", "APIC", "LOCALTIME", "HYPERV",
"DEVICE_MODE"};
"DEVICE_MODEL"};
replace_vector_values(obj_template, &tmpl, "FEATURES", features_names, 6);