   isManaged = (machineId)->
     (getProvider machineId) is 'managed'
 
+  getGroupName = ->
+    group = kd.singletons.groupsController?.getCurrentGroup()
+    return group?.slug ? 'koding'
+
   @createMethod = (ctx, { method, rpcMethod }) ->
     ctx[method] = (payload) ->
 

            message : 'Operation is not supported for this VM'

        payload.provider = provider

      @tell rpcMethod, payload



    {kontrol, computeController} = kd.singletons

    provider  = getProvider machineId
    groupName = getGroupName()

    @tell 'info', { machineId, provider, groupName }

      .then (info) =>

