Readme update
This commit is contained in:
parent
90efb515a1
commit
df8cf3553c
1 changed files with 8 additions and 6 deletions
14
README.md
14
README.md
|
@ -11,9 +11,11 @@ iface eth1 inet manual
|
||||||
netns myns
|
netns myns
|
||||||
```
|
```
|
||||||
|
|
||||||
On invocation of `ifup` it will create the necessary directories under
|
On invocation of `ifup`:
|
||||||
`/etc/netns/` and an empty `/etc/netns/<namespace>/network/interfaces` file if
|
* if the namespace doesn't exist it will be created
|
||||||
it doesn't already exist.
|
* if the folders `if-down.d`, `if-post-down.d`, `if-pre-up.d` and `if-up.d`
|
||||||
|
under `/etc/netns/<namespace>/network` don't exist, they will be created
|
||||||
If it does and the interface is configured it will invoke `ifup` inside the
|
* if the `/etc/netns/<namespace>/network/interfaces` file doesn't exist a
|
||||||
namespace.
|
blank one will be created
|
||||||
|
* if it does and the interface is configured the the script will invoke `ifup`
|
||||||
|
for this interface inside the namespace.
|
||||||
|
|
Loading…
Reference in a new issue