Comment # 6 on bug 1047929 from
so code that reproduce issue:

pepa:/tmp # cat test.rb 
require "yast"

Yast.import "Host"
Yast.import "Wizard"

Yast::Wizard.OpenDialog(Yast::Term.new(:HBox))
export = Yast::Host.Read
export = Yast::Host.Export
export["hosts"] = { "127.0.0.1"  => ["localhost"], "127.0.0.2" => ["localhost2
localhost.backup"] }
Yast::Host.Import(export)
Yast::Host.Write
Yast::Wizard.CloseDialog


You are receiving this mail because: