1
0
mirror of https://github.com/OpenNebula/one.git synced 2024-12-23 17:33:56 +03:00

F #~: fix nic key in vcenter70 (#902)

This commit is contained in:
Carlos J. Herrera 2021-03-02 13:39:54 -05:00 committed by GitHub
parent 65977f4b00
commit a1fdf4c277
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1961,7 +1961,7 @@ module VCenterDriver
end
card_spec = {
:key => 0,
:key => Time.now.utc.strftime('%Y%m%d%M%S%L').to_i,
:deviceInfo => {
:label => 'net' + card_num.to_s,
:summary => pg_name
@ -2107,7 +2107,7 @@ module VCenterDriver
end
card_spec = {
:key => 0,
:key => Time.now.utc.strftime('%Y%m%d%M%S%L').to_i,
:deviceInfo => {
:label => 'net' + card_num.to_s,
:summary => pg_name