mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-21 14:50:08 +03:00
B #-: neigh does not match sudo (#1214)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
This commit is contained in:
parent
f45afe4e2e
commit
ae7163c640
@ -96,7 +96,7 @@ class ElasticDriver < VNMMAD::VNMDriver
|
||||
next if attach_nic_id && attach_nic_id != nic[:nic_id]
|
||||
|
||||
cmds.add :ip, "route del #{nic[:ip]}/32 dev #{nic[:bridge]} | true"
|
||||
cmds.add :ip, "neigh del proxy #{nic[:gateway]} dev #{nic[:bridge]} | true"
|
||||
cmds.add :ip, "neighbour del proxy #{nic[:gateway]} dev #{nic[:bridge]} | true"
|
||||
|
||||
provider.deactivate(cmds, nic) if provider.respond_to? :deactivate
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user