[Bug 1226206] New: [doc] Configure the connected network cards typos in example code
https://bugzilla.suse.com/show_bug.cgi?id=1226206 Bug ID: 1226206 Summary: [doc] Configure the connected network cards typos in example code Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.4 Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Documentation Assignee: fs@suse.com Reporter: philip@kauffman.me QA Contact: fs@suse.com Target Milestone: --- Found By: --- Blocker: --- 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> ``` -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com