code: def injectFile(self, fromFile, toFile, role):
          
          maxRetries = 10
          for retry in range(maxRetries):
              try:
                  self.coreRsync([fromFile, ":" + toFile], applianceName=role)
                  return True
              except Exception as e:
                  logger.debug("Rsync to new node failed, trying again. Error message: %s" % e)
                  time.sleep(10*retry)
          raise RuntimeError("Failed to inject file %s to %s with ip %s" % (fromFile, role, self.effectiveIP) )
docs: rysnc a file to the vm with the given role