Class: OsCtld::Container::Hooks::PostStart

Inherits:
Base show all
Defined in:
lib/osctld/container/hooks.rb

Instance Attribute Summary

Attributes inherited from Base

#ct

Attributes inherited from Hook::Base

#event_instance, #opts

Instance Method Summary collapse

Methods inherited from Base

ct_hook, #setup

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

#environmentObject (protected)



104
105
106
107
108
# File 'lib/osctld/container/hooks.rb', line 104

def environment
  super.merge({
    'OSCTL_CT_INIT_PID' => opts[:init_pid].to_s
  })
end