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

Bug #2172: Incorrect parameter deploy_info passed to network post script

This commit is contained in:
Jaime Melis 2013-11-25 20:08:40 +01:00
parent ba2bd83701
commit 8de607c889
2 changed files with 7 additions and 1 deletions

View File

@ -797,7 +797,7 @@ class ExecDriver < VirtualMachineDriver
{
:driver => :vnm,
:action => :post,
:parameters => [:deploy_info],
:parameters => [:deploy_id],
:fail_actions => [
{
:driver => :vmm,

View File

@ -36,6 +36,12 @@ class OpenvSwitchVLAN < OpenNebulaNetwork
process do |nic|
@nic = nic
if @nic[:tap].nil?
STDERR.puts "No tap device found for nic #{@nic[:nic_id]}"
unlock
exit 1
end
# Apply VLAN
if @nic[:vlan] == "YES"
tag_vlan