Method: Yast::WFM.Write

Defined in:
src/ruby/yast/wfm.rb

.Write(path, *args) ⇒ Object

Note:

very limited use-case. It is needed only if installer switched to scr on target system and agent from inst-sys must be called

Runs write on local system agent operating on inst-sys

Examples:

Write yast inf file in inst-sys

Yast::WFM.Write(path(".local.string"), "/etc/yast.inf", yast_inf)

Parameters:

  • path (Yast::Path, String)

    agent path

  • args

    arguments to agent

See Also:



174
175
176
# File 'src/ruby/yast/wfm.rb', line 174

def self.Write(path, *args)
  call_builtin_wrapper("Write", Yast.path(path), *args)
end