Skip to content

Commit

Permalink
Teradata
Browse files Browse the repository at this point in the history
  • Loading branch information
dzedro committed Aug 31, 2023
1 parent 0f6be82 commit debca40
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
5 changes: 5 additions & 0 deletions data/autoyast_qam/15_installation.xml.ep
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@
<!DOCTYPE profile>
<profile xmlns="http://www.suse.com/1.0/yast2ns" xmlns:config="http://www.suse.com/1.0/configns">
<suse_register>
% unless ($check_var->('FLAVOR', 'Server-DVD-Updates-TERADATA') or $check_var->('FLAVOR', 'Server-DVD-Incidents-TERADATA')) {
<do_registration config:type="boolean">true</do_registration>
% }
% if ($check_var->('FLAVOR', 'Server-DVD-Updates-TERADATA') or $check_var->('FLAVOR', 'Server-DVD-Incidents-TERADATA')) {
<do_registration config:type="boolean">false</do_registration>
% }
<email><%= $get_var->('SCC_EMAIL') %></email>
<reg_code><%= $get_var->('SCC_REGCODE') %></reg_code>
<install_updates config:type="boolean">true</install_updates>
Expand Down
2 changes: 2 additions & 0 deletions lib/registration.pm
Original file line number Diff line number Diff line change
Expand Up @@ -795,6 +795,8 @@ sub skip_registration {
}
elsif (match_has_tag('scc-skip-reg-warning-yes')) {
send_key "alt-y"; # confirmed skip SCC registration
wait_still_screen;
send_key $cmd{next};
}
}

Expand Down
2 changes: 1 addition & 1 deletion products/sle/main.pm
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ if (is_sle('15+') && !check_var('SCC_REGISTER', 'installation')) {
# Always register at scc and use the test updates if the Flavor is -Updates.
# This way we can reuse existant test suites without having to patch their
# settings
if (is_updates_test_repo && !get_var('MAINT_TEST_REPO')) {
if (is_updates_test_repo && !get_var('MAINT_TEST_REPO') && get_var('FLAVOR') !~ /-TERADATA/) {
my %incidents;
$incidents{OS} = get_var('OS_TEST_REPOS', '');

Expand Down

0 comments on commit debca40

Please sign in to comment.