Skip to content

Commit cb74f8c

Browse files
bagasmekuba-moo
authored andcommitted
Documentation: net: net_failover: Separate cloud-ifupdown-helper and reattach-vf.sh code blocks marker
cloud-ifupdown-helper patch and reattach-vf.sh script are rendered in htmldocs output as normal paragraphs instead of literal code blocks due to missing separator from respective code block marker. Add it. Signed-off-by: Bagas Sanjaya <bagasdotme@gmail.com> Reviewed-by: Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20251016093936.29442-2-bagasdotme@gmail.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
1 parent e59bc32 commit cb74f8c

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

Documentation/networking/net_failover.rst

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,8 @@ needed to these network configuration daemons to make sure that an IP is
9696
received only on the 'failover' device.
9797

9898
Below is the patch snippet used with 'cloud-ifupdown-helper' script found on
99-
Debian cloud images:
99+
Debian cloud images::
100100

101-
::
102101
@@ -27,6 +27,8 @@ do_setup() {
103102
local working="$cfgdir/.$INTERFACE"
104103
local final="$cfgdir/$INTERFACE"
@@ -172,9 +171,8 @@ appropriate FDB entry is added.
172171

173172
The following script is executed on the destination hypervisor once migration
174173
completes, and it reattaches the VF to the VM and brings down the virtio-net
175-
interface.
174+
interface::
176175

177-
::
178176
# reattach-vf.sh
179177
#!/bin/bash
180178

0 commit comments

Comments
 (0)