Skip to content

Commit

Permalink
Drop hardcoded route from ay profiles
Browse files Browse the repository at this point in the history
New workers in PRG, route does not need to be hardcoded

https://suse.slack.com/archives/C02CANHLANP/p1696574135714859
  • Loading branch information
dzedro committed Oct 6, 2023
1 parent eb66764 commit 63f0654
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions data/autoyast_qam/12_installation.xml.ep
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,12 @@
<route>
<destination>default</destination>
<device>eth0</device>
% if ( $get_var->('WORKER_CLASS') =~ /prg2/ ) {
<gateway>10.145.10.254</gateway>
% }
% if ( $get_var->('WORKER_CLASS') =~ /nue2/ ) {
<gateway>10.161.159.254</gateway>
% }
<netmask>-</netmask>
</route>
</routes>
Expand Down
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 @@ -168,7 +168,12 @@
<route>
<destination>default</destination>
<device>eth0</device>
% if ( $get_var->('WORKER_HOSTNAME') =~ /prg2/ ) {
<gateway>10.145.10.254</gateway>
% }
% if ( $get_var->('WORKER_HOSTNAME') =~ /nue2/ ) {
<gateway>10.161.159.254</gateway>
% }
<netmask>-</netmask>
</route>
</routes>
Expand Down

0 comments on commit 63f0654

Please sign in to comment.