Class: RemoteLXC::RemotelxcDelete

Inherits:
Chef::Knife::Ssh
  • Object
show all
Includes:
Helpers
Defined in:
lib/chef/knife/remotelxc_delete.rb

Instance Method Summary collapse

Methods included from Helpers

#knife_ssh

Instance Method Details

#runObject



20
21
22
23
# File 'lib/chef/knife/remotelxc_delete.rb', line 20

def run
  ui.confirm "Delete LXC node: #{name_args.first}"
  knife_ssh(config[:lxc_node], "knife_lxc delete #{name_args.first}")
end