131. NfsServer

NFS server configuration data, I/O functions.

131.1. Summary of Module Globals

List of Global Functions

  • AutoPackages - Return required packages for auto-installation

  • Export - Dump the NFS settings to a map, for autoinstallation use.

  • GetModified - Functions which returns if the settings were modified

  • Import - Get all NFS server configuration from a map. When called by nfs_server_auto (preparing autoinstallation data) the map may be empty.

  • Read - Reads NFS settings from the SCR (.etc.exports)

  • Set - Set the variables just as is and without complaining

  • SetModified - Function sets internal variable, which indicates, that any settings were modified, to "true"

  • Summary -

  • Write - Saves NFS server configuration. (exports(5)) Creates any missing directories.

  • WriteExports - Saves /etc/exports and creates missing directories.

List of Global Variables

  • exports -

  • required_packages - Required packages for this module to operate

  • start - Should the server be started? New since 9.0: Exports are independent of this setting.

  • write_only - Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.

131.2. Global Functions

131.2.1. AutoPackages

Return required packages for auto-installation

Return value

  • map - of packages to be installed and to be removed

131.2.2. Export

Dump the NFS settings to a map, for autoinstallation use.

Return value

  • map - $["start_nfsserver": "nfs_exports":]

131.2.3. GetModified

Functions which returns if the settings were modified

Return value

  • boolean - settings were modified

131.2.4. Import

Get all NFS server configuration from a map. When called by nfs_server_auto (preparing autoinstallation data) the map may be empty.

Function parameters

  • map settings

Return value

  • boolean - success

131.2.5. Read

Reads NFS settings from the SCR (.etc.exports)

Return value

  • boolean - true on success

131.2.6. Set

Set the variables just as is and without complaining

Function parameters

  • map settings

Return value

  • void

131.2.7. SetModified

Function sets internal variable, which indicates, that any settings were modified, to "true"

Return value

  • void

131.2.8. Summary

Return value

  • string - A summary for autoyast

131.2.9. Write

Saves NFS server configuration. (exports(5)) Creates any missing directories.

Return value

  • boolean - true on success

131.2.10. WriteExports

Saves /etc/exports and creates missing directories.

Return value

  • boolean - true on success

131.3. Global Variables

131.3.1. exports

131.3.2. required_packages

Required packages for this module to operate

131.3.3. start

Should the server be started? New since 9.0: Exports are independent of this setting.

131.3.4. write_only

Write only, used during autoinstallation. Don't run services and SuSEconfig, it's all done at one place.

131.4. Module Requirements

131.4.1. Module Imports

  • Progress
  • Report
  • Service
  • SuSEFirewall
  • Summary
  • Wizard

131.4.2. Module Includes