1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-23 22:50:09 +03:00

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

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

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"]

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

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);