1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-16 22:50:10 +03:00

feature #476: fix typo in vlan tagging command

This commit is contained in:
Jaime Melis 2011-06-01 12:31:04 +02:00
parent ced96c874b
commit a63a911101

View File

@ -206,7 +206,7 @@ class OpenvSwitchVLAN < OpenNebulaVLAN
def activate
process do |nic|
cmd = "#{COMMANDS[:ovs_vsctl]} set Port #{nic[:tap]} "
cmd << "tap=#{nic[:network_id].to_i + CONF[:start_vlan]}"
cmd << "tag=#{nic[:network_id].to_i + CONF[:start_vlan]}"
system(cmd)
end