Class: Pvectl::Commands::MoveDiskContainer
- Inherits:
-
Object
- Object
- Pvectl::Commands::MoveDiskContainer
- Includes:
- MoveDiskCommand
- Defined in:
- lib/pvectl/commands/move_disk_container.rb
Overview
Handler for the ‘pvectl move disk ct` command.
Moves a container volume (rootfs / mpN) to a different storage on the same node. The –format flag is rejected because the LXC move_volume API does not accept a format.
Constant Summary collapse
- RESOURCE_TYPE =
:container- SUPPORTED_RESOURCES =
%w[container ct].freeze
Constants included from MoveDiskCommand
Pvectl::Commands::MoveDiskCommand::VALID_FORMATS