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

(cherry picked from commit 8de607c889)
This commit is contained in:
Jaime Melis authored and Javi Fontan committed 2013-11-26 12:17:19 +01:00
1 parent dce7bac459
commit f2dd1fb735
2 files changed
+7 -1

No files matched your search

+1 -1
View File
@@ -797,7 +797,7 @@ class ExecDriver < VirtualMachineDriver
{
:driver => :vnm,
:action => :post,
:parameters => [:deploy_info],
:parameters => [:deploy_id],
:fail_actions => [
{
:driver => :vmm,
@@ -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