Skip to content

Commit

Permalink
Register the callback
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed May 20, 2021
1 parent 23c1186 commit e07cb12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/lib/installation/clients/inst_install_inf.rb
@@ -1,7 +1,6 @@
require "yast"
require "network/install_inf_convertor"
require "installation/dialogs/registration_url_dialog"
require "installation/installation_data"

module Yast
class InstInstallInfClient < Client
Expand All @@ -17,9 +16,6 @@ class InstInstallInfClient < Client
def main
textdomain "installation"

# register the installation data dump callback
::Installation::InstallationData.add

InstallInfConvertor.instance.write_netconfig

return :next if Mode.auto
Expand Down
4 changes: 4 additions & 0 deletions src/lib/installation/clients/installation.rb
Expand Up @@ -30,6 +30,7 @@
# $Id$

require "ui/wizards/layout"
require "installation/installation_data"

module Yast
class InstallationClient < Client
Expand All @@ -48,6 +49,9 @@ def main
Yast.import "ProductFeatures"
Yast.import "ProductControl"

# register the installation data dump callback
::Installation::InstallationData.add

# log the inst-sys identification for easier debugging
log_os_release

Expand Down

0 comments on commit e07cb12

Please sign in to comment.