code: def prep_bootstrap(mpt):
      '''
      Update and get the random script to a random place
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' seed.prep_bootstrap /tmp
  
      '''
      # Verify that the boostrap script is downloaded
      bs_ = __salt__['config.gather_bootstrap_script']()
      fpd_ = os.path.join(mpt, 'tmp', "{0}".format(
          uuid.uuid4()))
      if not os.path.exists(fpd_):
          os.makedirs(fpd_)
      os.chmod(fpd_, 0o700)
      fp_ = os.path.join(fpd_, os.path.basename(bs_))
      # Copy script into tmp
      shutil.copy(bs_, fp_)
      tmppath = fpd_.replace(mpt, '')
      return fp_, tmppatf prep_bootstrap(mpt):
      '''
      Update and get the random script to a random place
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' seed.prep_bootstrap /tmp
  
      '''
      # Verify that the boostrap script is downloaded
      bs_ = __salt__['config.gather_bootstrap_script']()
      fpd_ = os.path.join(mpt, 'tmp', "{0}".format(
          uuid.uuid4()))
      if not os.path.exists(fpd_):
          os.makedirs(fpd_)
      os.chmod(fpd_, 0o700)
      fp_ = os.path.join(fpd_, os.path.basename(bs_))
      # Copy script into tmp
      shutil.copy(bs_, fp_)
      tmppath = fpd_.replace(mpt, '')
      return fp_, tmppath
docs: Update and get the random script to a random place
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' seed.prep_bootstrap /tmp