man ip-netns: Fix shifted layout at bottom of 'ip netns del'
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
This commit is contained in:
parent
8b90a9907e
commit
bbf2f7c66d
|
|
@ -116,12 +116,18 @@ $ ip netns exec net0 SOME_PROCESS_IN_BACKGROUND
|
|||
$ ip netns del net0
|
||||
.RE
|
||||
|
||||
.RS
|
||||
and eth0 will appear in the default netns only after SOME_PROCESS_IN_BACKGROUND
|
||||
will exit or will be killed. To prevent this the processes running in net0
|
||||
should be killed before deleting the netns:
|
||||
|
||||
$ ip netns pids net0 | xargs kill
|
||||
$ ip netns del net0
|
||||
.RE
|
||||
.RS 10
|
||||
$ ip netns pids net0 | xargs kill
|
||||
.RE
|
||||
.RS 10
|
||||
$ ip netns del net0
|
||||
.RE
|
||||
|
||||
.TP
|
||||
.B ip netns set NAME NETNSID - assign an id to a peer network namespace
|
||||
|
|
|
|||
Loading…
Reference in New Issue