           type: { type: 'string' }
         }
       }
+    }
+
+    # Number of virtual CPUs to start the new VM with.
+    CPUs: {
+      optional: true # If not defined use the template parameters.
+      type: 'integer'
     }
   }
 

        properties: {
          # UUID of the network to create the interface in.
          network: 'string'
        }
      }
    }

  $each VIFs, (VIF) ->
    xapi.call 'VIF.create', {
      device: '0'
      MAC: VIF.MAC ? ''
      MTU: '1500'
      network: VIF.network
      other_config: {}
