code: def create_baseline(tag="baseline", config='root'):
      '''
      Creates a snapshot marked as baseline
  
      tag
          Tag name for the baseline
  
      config
          Configuration name.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' snapper.create_baseline
          salt '*' snapper.create_baseline my_custom_baseline
      '''
      return __salt__['snapper.create_snapshot'](config=config,
                                                 snapshot_type='single',
                                                 description="baseline snapshot",
                                                 cleanup_algorithm="number",
                                                 userdata={"baseline_tag": tag}f create_baseline(tag="baseline", config='root'):
      '''
      Creates a snapshot marked as baseline
  
      tag
          Tag name for the baseline
  
      config
          Configuration name.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' snapper.create_baseline
          salt '*' snapper.create_baseline my_custom_baseline
      '''
      return __salt__['snapper.create_snapshot'](config=config,
                                                 snapshot_type='single',
                                                 description="baseline snapshot",
                                                 cleanup_algorithm="number",
                                                 userdata={"baseline_tag": tag})
docs: Creates a snapshot marked as baseline
  
      tag
          Tag name for the baseline
  
      config
          Configuration name.
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' snapper.create_baseline
          salt '*' snapper.create_baseline my_custom_baseline