iankelling.org
/
git
/
newns
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
9dfee15
)
better documentation on create
author
Ian Kelling
<ian@iankelling.org>
Thu, 19 Jan 2017 11:06:48 +0000
(
03:06
-0800)
committer
Ian Kelling
<ian@iankelling.org>
Thu, 19 Jan 2017 11:06:48 +0000
(
03:06
-0800)
newns
patch
|
blob
|
history
diff --git
a/newns
b/newns
index b45c994987c208e9aa570552e2b8c85987c8c3fe..39f8971f94baf6036947eb0ddc50e6503fba08c9 100755
(executable)
--- a/
newns
+++ b/
newns
@@
-40,7
+40,10
@@
usage() {
usage: ${0##*/} [OPTS] start|stop NS_NAME
Setup new or systemd created network namespace with nat and mount namespace
usage: ${0##*/} [OPTS] start|stop NS_NAME
Setup new or systemd created network namespace with nat and mount namespace
--c, --create Create network namespace. For running outside systemd private net.
+-c, --create Create a named network namespace. When running from
+ the same network namespace as pid 1, this is set automatically.
+ This is the case when running outside a systemd created
+ private network.
-h, --help Show this help and exit.
From within a systemd network namespace, nat it to the outside. This
-h, --help Show this help and exit.
From within a systemd network namespace, nat it to the outside. This