From ba1bafe894c1e12e761c0465c5280b60a983a6b4 Mon Sep 17 00:00:00 2001 From: Javi Fontan Date: Thu, 7 May 2015 14:18:19 +0200 Subject: [PATCH] feature #3532: use VM name instead of deploy id --- src/cli/one_helper/onehost_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/cli/one_helper/onehost_helper.rb b/src/cli/one_helper/onehost_helper.rb index 18828b3b10..8e3637a764 100644 --- a/src/cli/one_helper/onehost_helper.rb +++ b/src/cli/one_helper/onehost_helper.rb @@ -324,7 +324,7 @@ class OneHostHelper < OpenNebulaHelper::OneHelper wilds = get_importable_wilds(host) - vms = wilds.select {|vm| vm['DEPLOY_ID'] == name } + vms = wilds.select {|vm| vm['VM_NAME'] == name } if vms.length == 0 return OpenNebula::Error.new("No importable wilds with name " <<