From 49df8bd697275ea5d331efc114440a0fde964935 Mon Sep 17 00:00:00 2001 From: Ian Kelling Date: Thu, 19 Jan 2017 02:34:45 -0800 Subject: [PATCH] even more better docs --- newns | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/newns b/newns index d6a1b08..6da7727 100755 --- a/newns +++ b/newns @@ -43,9 +43,12 @@ Setup new or systemd created network namespace with nat and mount namespace -c, --create Create network namespace. For running outside systemd private net. -h, --help Show this help and exit. -From within systemd network namespace, nat it to the outside. If given --c, or if in the default network namespace, create a named network -namepace natted to the current netns. +From within a systemd network namespace, nat it to the outside. This +would be called from ExecStartPre, and or subsequent units called with +JoinsNamespaceOf= and PrivateNetwork=true. + +If given -c, or if in the default network namespace, create a named +network namepace natted to the current netns. Uses /24 network, finding the first locally unused one starting at 10.173.0. -- 2.30.2