mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-17 02:03:15 +09:00
Bug #2172: Incorrect parameter deploy_info passed to network post script
(cherry picked from commit 8de607c889)
This commit is contained in:
1 parent
dce7bac459
commit
f2dd1fb735
2 files changed
+7
-1
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user