#include <prep-host-terminal.hpp>
Public Member Functions | |
PrepHostTerminal (TerminalsConfig &terminals) | |
Prepares the terminal on the host side. More... | |
~PrepHostTerminal () | |
void | execute () |
Private Member Functions | |
virtual void | revert () |
Private Attributes | |
TerminalsConfig & | mTerminals |
lxcpp::PrepHostTerminal::PrepHostTerminal | ( | TerminalsConfig & | terminals | ) |
Prepares the terminal on the host side.
It creates a number of pseudoterminals and stores them to be passed to the guard and prepared for init process.
terminals | container's terminals config |
lxcpp::PrepHostTerminal::~PrepHostTerminal | ( | ) |
|
virtual |
Implements lxcpp::Command.
|
inlinevirtualinherited |
Reimplemented in lxcpp::ProvisionLink, lxcpp::ProvisionMount, lxcpp::ProvisionFile, and lxcpp::Provisions.
|
private |