From fdad7ec4834f2b97fe6cbc45447b0d592662868a Mon Sep 17 00:00:00 2001 From: Matt Hicks Date: Thu, 17 Jul 2008 19:33:05 -0400 Subject: Fix on the virttype --- cloudmasterd/lib/cloudmasterd.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cloudmasterd/lib/cloudmasterd.rb b/cloudmasterd/lib/cloudmasterd.rb index 89a2e1e..5411c35 100644 --- a/cloudmasterd/lib/cloudmasterd.rb +++ b/cloudmasterd/lib/cloudmasterd.rb @@ -220,8 +220,8 @@ module Cloudmasterd::Controllers @cloud_names = {} @cloud_machines.each do |machine| printed_name = machine.name - if machine.type - printed_name += (machine.type == "Xen") ? " (Xen)": " (KVM)" + if machine.virttype + printed_name += (machine.virttype == "Xen") ? " (Xen)": " (KVM)" end @cloud_names[machine.name] = printed_name end -- cgit