diff --git a/src/client/ruby/onehost b/src/client/ruby/onehost index 5f33b60143..5b92316399 100755 --- a/src/client/ruby/onehost +++ b/src/client/ruby/onehost @@ -267,6 +267,7 @@ when "delete" check_parameters("delete", 1) host_id=get_host_id(host, ARGV[0]) if vms_in_host?(host_id) + puts "Host still has associated VMs. It will be disabled instead." result=host.disable(host_id) if result[0] puts "Host disabled" if ops[:verbose]