YaST2 Developers Documentation: Network configuration

Network configuration

modules/NetworkStorage.ycp
Networked disks
  • Martin Vidner

This module has an unstable interface.

#176804 - Root on iSCSI installation fails

Imports

  • Storage

Global Functions

global getDevice (string mount_point) -> string

Ask /proc/mounts what device a mount point is using.

Parameters:
mount_point
Return value:
e.g. /dev/sda2 (or just "nfs")
global isDiskOnNetwork (string device) -> symbol

If the disk is on a networked device (NFS, ISCSI), the main NIC needs STARTMODE nfsroot instead of auto.

Parameters:
device
Return value:
root dev over network: `no `iscsi `nfs `fcoe