Class: Pvectl::Commands::MoveDiskContainer
- Inherits:
-
Object
- Object
- Pvectl::Commands::MoveDiskContainer
- Includes:
- MoveDiskCommand
- Defined in:
- lib/pvectl/commands/move_disk_container.rb,
sig/pvectl/commands/move_disk_container.rbs
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
Method Summary
Methods included from MoveDiskCommand
#build_service, #confirm_operation, #disk_label, #execute, #id_label, included, #initialize, #load_config, #output_result, #perform_operation, #resolve_resource, #resource_not_found, #resource_type_symbol, #service_options, #usage_error