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:
parent
ba2bd83701
commit
8de607c889
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user