B #-: neigh does not match sudo (#1214)

Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
This commit is contained in:
Ricardo Diaz authored and Ruben S. Montero committed 2021-05-13 11:34:01 +02:00
1 parent 3aa0f02f77
commit 6652fbce0e
1 file changed
+1 -1
+1 -1
View File
@@ -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