Readme update

This commit is contained in:
Benjamin Collet 2018-04-07 22:05:36 +02:00
parent 90efb515a1
commit df8cf3553c

View file

@ -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.