Skip to content

Commit

Permalink
Import WE registration codes during installation
Browse files Browse the repository at this point in the history
Import WE registration codes during installation
  • Loading branch information
openQA web UI committed Sep 8, 2022
1 parent 07de828 commit 56818e3
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 2 deletions.
16 changes: 16 additions & 0 deletions data/autoyast_sle15/autoyast_home_encrypted.xml
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,20 @@
<pattern>gnome_x11</pattern>
</patterns>
</software>
<scripts>
<init-scripts config:type="list">
<script>
<filename>init.sh</filename>
<source><![CDATA[
#!/bin/sh
# zypper process is locked by some ruby process, modify the repo file
cd /etc/zypp/repos.d
sed -i 's/enabled=1/enabled=0/' $(ls|grep -i nvidia)
zypper lr
exit 0
]]></source>
</script>
</init-scripts>
</scripts>
</profile>
16 changes: 16 additions & 0 deletions data/autoyast_sle15/autoyast_reuse-encrypted.xml
Original file line number Diff line number Diff line change
Expand Up @@ -194,4 +194,20 @@
<pattern>yast2_basis</pattern>
</patterns>
</software>
<scripts>
<init-scripts config:type="list">
<script>
<filename>init.sh</filename>
<source><![CDATA[
#!/bin/sh
# zypper process is locked by some ruby process, modify the repo file
cd /etc/zypp/repos.d
sed -i 's/enabled=1/enabled=0/' $(ls|grep -i nvidia)
zypper lr
exit 0
]]></source>
</script>
</init-scripts>
</scripts>
</profile>
5 changes: 3 additions & 2 deletions tests/autoyast/installation.pm
Original file line number Diff line number Diff line change
Expand Up @@ -289,9 +289,10 @@ sub run {
}
elsif (match_has_tag('nvidia-validation-failed')) {
# nvidia repositories are unstable and really not needed for anything
record_info("nVidia", "nVidia repository is broken");
send_key 'alt-y';
record_info("NVIDIA", "NVIDIA repository is broken");
wait_still_screen { send_key 'alt-o' };
send_key 'alt-n';
$num_errors++;
}
elsif (match_has_tag('package-notification')) {
send_key 'alt-o';
Expand Down

0 comments on commit 56818e3

Please sign in to comment.