From e80fcc69679b90d4b92e348a88b5c100cb49cf4b Mon Sep 17 00:00:00 2001 From: georgyous Date: Thu, 17 Jul 2014 14:25:20 +0300 Subject: [PATCH] Update create_server.rb Repair bug for platform attribute of a vm. --- lib/fog/xenserver/requests/compute/create_server.rb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/fog/xenserver/requests/compute/create_server.rb b/lib/fog/xenserver/requests/compute/create_server.rb index 4cc15e797..2bceb09db 100644 --- a/lib/fog/xenserver/requests/compute/create_server.rb +++ b/lib/fog/xenserver/requests/compute/create_server.rb @@ -55,8 +55,7 @@ module Fog :actions_after_shutdown => 'Destroy', :actions_after_reboot => 'Restart', :actions_after_crash => 'Restart', - :platform => { 'nx' => false, 'acpi' => true, 'apic' => 'true', 'pae' => true, 'viridian' => true}, - :platform => {}, + :platform => { :'nx' => 'true', :'acpi' => 'true', :'apic' => 'true', :'pae' => 'true', :'viridian' => 'true' }, :other_config => {}, :pool_name => '', :PV_bootloader => 'pygrub', #pvgrub, eliloader