YaST2 Developers Documentation: InstURL.ycp

InstURL.ycp

  • Klaus Kaempf <kkaempf@suse.de>
  • Purpose: Convert /etc/install.inf data to URL

This module has an unstable interface.

Imports

  • CheckMedia
  • Linuxrc
  • URL

Global Functions

Local Functions

global HidePassword (string url) -> string

Hide Password

Parameters:
url original URL
Return value:
new URL with hidden password
local GetDevicesOption () -> string

Get device options for CD/DVD

Return value:
device options (devices=/dev/cdrom)
local GetURLOptions (string url) -> map

Parameters:
url
global RewriteCDUrl (string url) -> string

Parameters:
url
global installInf2Url (string extra_dir) -> string

Convert install.inf to a URL useable by the package manager

Parameters:
extra_dir append path to original URL
Return value:
new Source URL