code: def create_disk(name, size):
      '''
      Create a VMM disk with the specified `name` and `size`.
  
      size:
          Size in megabytes, or use a specifier such as M, G, T.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' vmctl.create_disk /path/to/disk.img size=10G
      '''
      ret = False
      cmd = 'vmctl create {0} -s {1}'.format(name, size)
  
      result = __salt__['cmd.run_all'](cmd,
                                       output_loglevel='trace',
                                       python_shell=False)
  
      if result['retcode'] == 0:
          ret = True
      else:
          raise CommandExecutionError(
              'Problem encountered creating disk image',
              info={'errors': [result['stderr']], 'changes': ret}
          )
  
      return ref create_disk(name, size):
      '''
      Create a VMM disk with the specified `name` and `size`.
  
      size:
          Size in megabytes, or use a specifier such as M, G, T.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' vmctl.create_disk /path/to/disk.img size=10G
      '''
      ret = False
      cmd = 'vmctl create {0} -s {1}'.format(name, size)
  
      result = __salt__['cmd.run_all'](cmd,
                                       output_loglevel='trace',
                                       python_shell=False)
  
      if result['retcode'] == 0:
          ret = True
      else:
          raise CommandExecutionError(
              'Problem encountered creating disk image',
              info={'errors': [result['stderr']], 'changes': ret}
          )
  
      return ret
docs: Create a VMM disk with the specified `name` and `size`.
  
      size:
          Size in megabytes, or use a specifier such as M, G, T.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' vmctl.create_disk /path/to/disk.img size=10G