Class: Pvectl::Commands::RestartContainer

Inherits:
Object
  • Object
show all
Includes:
ContainerLifecycleCommand
Defined in:
lib/pvectl/commands/restart_container.rb

Overview

Handler for the ‘pvectl restart container` command.

Restarts one or more LXC containers (reboot).

Examples:

Restart a single container

pvectl restart container 200

Constant Summary collapse

OPERATION =
:restart

Method Summary

Methods included from ContainerLifecycleCommand

included

Methods included from ResourceLifecycleCommand

#execute, included, #initialize