Class: OsCtld::Container::Hooks::VethUp
- Inherits:
-
Base
- Object
- Hook::Base
- Base
- OsCtld::Container::Hooks::VethUp
- Defined in:
- lib/osctld/container/hooks.rb
Instance Attribute Summary
Attributes inherited from Base
Attributes inherited from Hook::Base
Instance Method Summary collapse
- #environment ⇒ Object protected
Methods inherited from Base
Methods inherited from Hook::Base
blocking, blocking?, #blocking?, #exec, #executable, hook, #initialize, #setup
Constructor Details
This class inherits a constructor from OsCtld::Hook::Base
Instance Method Details
#environment ⇒ Object (protected)
51 52 53 54 55 56 |
# File 'lib/osctld/container/hooks.rb', line 51 def environment super.merge({ 'OSCTL_HOST_VETH' => opts[:host_veth], 'OSCTL_CT_VETH' => opts[:ct_veth] }) end |