Class: OsCtld::ContainerControl::Commands::Freeze::Runner

Inherits:
Runner
  • Object
show all
Defined in:
lib/osctld/container_control/commands/freeze.rb

Constant Summary

Constants inherited from Runner

Runner::LXC_ATTACH_FLAGS

Instance Attribute Summary

Attributes inherited from Runner

#ctid, #log_file, #lxc_home, #network_socket, #pool, #stderr, #stdin, #stdout, #user_home

Instance Method Summary collapse

Methods inherited from Runner

#error, #exitstatus, #initialize, #lxc_attach_command, #lxc_attach_wait, #lxc_attach_wait_for_exit, #lxc_ct, #ok, #reap_interrupted_lxc_attach, #setup_exec_env, #setup_exec_run_env, #system_path, #wait_for_lxc_attachable, #wait_for_lxc_stopped, #wait_for_path, #wait_for_process, #wait_status_exitstatus

Constructor Details

This class inherits a constructor from OsCtld::ContainerControl::Runner

Instance Method Details

#execute ⇒ Object



19
20
21
22
# File 'lib/osctld/container_control/commands/freeze.rb', line 19

def execute
  lxc_ct.freeze
  ok
end