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

F #3264: Fix deviceKey assignment changed

Changed hash rocket by ":" into boot_dev methods of vm_disk and vm_nic
This commit is contained in:
mouyaq 2019-05-28 14:54:50 +02:00
parent b4f75b56d5
commit 3e9313c112
No known key found for this signature in database
GPG Key ID: 3F63AC9CD2AAE81A
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ module VirtualMachineDevice
RbVmomi::VIM.VirtualMachineBootOptionsBootableCdromDevice()
else
RbVmomi::VIM.VirtualMachineBootOptionsBootableDiskDevice(
deviceKey => device.key
deviceKey: device.key
)
end
end

View File

@ -46,7 +46,7 @@ module VirtualMachineDevice
def boot_dev
RbVmomi::VIM
.VirtualMachineBootOptionsBootableEthernetDevice(
deviceKey => key
deviceKey: key
)
end