Class: OsCtld::ContainerControl::Commands::Runscript

Inherits:
OsCtld::ContainerControl::Command show all
Defined in:
lib/osctld/container_control/commands/runscript.rb

Overview

Execute a script within a container

If the container is running, the script is executed within the running system. If the container is stopped, it can be started if option ‘:run` is set. The container is started with init.lxc, not the container’s own init system. Static network configuration can be enabled using option ‘:network`, otherwise there is no networking.

Defined Under Namespace

Classes: Frontend, Runner

Method Summary

Methods inherited from OsCtld::ContainerControl::Command

run!