lib/y2_module_basetest.pm

y2_module_basetest.pm

This module provides common subroutines for YaST2 modules in graphical and text mode.

with_yast_env_variables

 with_yast_env_variables([extra_vars]);

Set environment variables for yast application. extra_vars extends the variables that can be used. extra_vars expects a string. ex: with_yast_env_variables("foo=bar");

is_network_manager_default

 is_network_manager_default();

openSUSE desktop roles have network manager as default except for older Leap versions.

continue_info_network_manager_default

 continue_info_network_manager_default();

Click on Continue when appears info indicating that network interfaces are controlled by Network Manager

accept_warning_network_manager_default

 accept_warning_network_manager_default();

Click on OK when appears a warning indicating that network interfaces are controlled by Network Manager.