diff options
Diffstat (limited to 'vserver.functions')
-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 +} |