       JVM.createDomains hostnameAlias
 
       vm = new JVM {
+        type
+        uid
         name      : name
         planCode  : planCode
         planOwner : planOwner

        regYears      : 0
      ).save (err)-> console.log err  if err?

  @createAliases = ({nickname, type, uid, groupSlug})->
    domain       = 'kd.io'
    aliases      = []

                          ]
      instance          : []
    schema              :
      type              :
        type            : String
        enum            : ['invalid vm type', ['user', 'group']]
      uid               : Number
      ip                :
        type            : String
        default         : -> null
