diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2014-05-21 23:15:32 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2014-05-21 23:15:32 +0200 |
commit | e6fb276b72ecd9fbc7be35ff56f471ca00566236 (patch) | |
tree | 4b80693018ac219a6b4c4dfd91f55b80965fcdcc | |
parent | 69d78a69b40af4420211526396fd30e85fcf5943 (diff) | |
download | util-vserver-netns-e6fb276b72ecd9fbc7be35ff56f471ca00566236.tar.gz util-vserver-netns-e6fb276b72ecd9fbc7be35ff56f471ca00566236.tar.bz2 util-vserver-netns-e6fb276b72ecd9fbc7be35ff56f471ca00566236.zip |
vserver.function: disable internal util-vserver netns handling2.2
-rw-r--r-- | vserver.functions | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vserver.functions b/vserver.functions index cd2cf9d..97e7b35 100644 --- a/vserver.functions +++ b/vserver.functions @@ -140,3 +140,15 @@ function enableInterfaces() { return $ret } + +# +# disable original netns handling +# + +function _handleNetNS() { + # The netns handling of util-vserver activates the netns inside the + # namespace, so the netns is not usable on the host. We have to disable + # the internal handling to use our variant. So we simply overwrite the + # internale function with this no-op. + return 0 +} |