Update create_server.rb

Repair bug for platform attribute of a vm.