def METHOD_NAME(vm):
  vm.RemoteCommand(('echo "{0} soft nofile {1}\n{0} hard nofile {1}" | '
                    'sudo tee {2}').format(vm.user_name, MAX_OPEN_FILES,
                                           NOFILE_LIMIT_CONF))