'Write an automatic OS installation template file
@param str file_path automatic OS installation template file path
@param str data new file content
@param ? token
@return bool if operation was successful'

def write_autoinstall_template(self, file_path, data, token):

    what = 'write_autoinstall_template'
    self._log(what, name=file_path, token=token)
    self.check_access(token, what, file_path, True)
    self.autoinstall_mgr.write_autoinstall_template(file_path, data)
    return True
