1
0
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:
Ricardo Diaz 2021-05-13 11:33:29 +02:00 committed by Ruben S. Montero
parent f45afe4e2e
commit ae7163c640
No known key found for this signature in database
GPG Key ID: A0CEA6FA880A1D87

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