Method: Specinfra::Command::Linux::Base::Bond.check_has_interface

Defined in:
lib/specinfra/command/linux/base/bond.rb

.check_has_interface(name, interface) ⇒ Object

[View source]

7
8
9
# File 'lib/specinfra/command/linux/base/bond.rb', line 7

def check_has_interface(name, interface)
  "grep -o 'Slave Interface: #{interface}' /proc/net/bonding/#{name}"
end