mirror of
https://github.com/OpenNebula/one.git
synced 2026-12-02 05:06:14 +09:00
B #-: neigh does not match sudo (#1214)
Signed-off-by: Ricardo Diaz <rdiaz@opennebula.io>
This commit is contained in:
1 parent
3aa0f02f77
commit
6652fbce0e
1 file changed
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user