Class: Chef::Knife::ProxmoxServerStart
- Inherits:
-
Chef::Knife
- Object
- Chef::Knife
- Chef::Knife::ProxmoxServerStart
- Includes:
- ProxmoxBase
- Defined in:
- lib/chef/knife/proxmox_server_start.rb
Instance Method Summary collapse
Methods included from ProxmoxBase
#action_response, #check_config_parameter, #check_global_parameter, #connection, #destroy_item, included, #locate_config_value, #new_vmid, #server_create, #server_destroy, #server_get_data, #server_name_to_vmid, #server_start, #server_stop, #template_number_to_name, #vmid_to_node, #waitfor
Instance Method Details
#run ⇒ Object
17 18 19 20 21 22 23 24 |
# File 'lib/chef/knife/proxmox_server_start.rb', line 17 def run # Needed connection check_config_parameter(:vm_id) server_start(config[:vm_id]) end |