Bugzilla – Bug 1226206
[doc] Configure the connected network cards typos in example code
Last modified: 2024-06-27 11:31:10 UTC
Configure the connected network cards : https://doc.opensuse.org/projects/autoyast/#id-1.9.6.4.6.5.5 Fixed code: ``` <interfaces t="list"> <% with_link = network_cards.sort_by { |n| n[:name] }.find { |n| n[:link] } %> <% if with_link %> <interface> <device><%= with_link[:device] %></device> <startmode>auto</startmode> <bootproto>dhcp</bootproto> </interface> <% end %> </interfaces> ``` diff ``` --- a 2024-06-12 01:47:05.108761194 -0600 +++ b 2024-06-12 01:46:47.648892157 -0600 @@ -1,10 +1,10 @@ <interfaces t="list"> - <% with_link = netword_cards.sort_by { |n| n[:name] }.find { |n| n[:link] } %> + <% with_link = network_cards.sort_by { |n| n[:name] }.find { |n| n[:link] } %> <% if with_link %> <interface> <device><%= with_link[:device] %></device> <startmode>auto</startmode> <bootproto>dhcp</bootproto> </interface> - <% end > + <% end %> </interfaces> ```
Thank you for reporting this bug! It is being tracked and processed as part of our queue.
Fixed by https://github.com/SUSE/doc-sle/commit/be1e09a9d26e07c05166b290c7f6521a555eb379