aboutsummaryrefslogtreecommitdiffstats
path: root/iurt
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2017-10-04 19:04:51 +0100
committerPascal Terjan <pterjan@mageia.org>2017-10-04 20:04:57 +0100
commit4542dfad9d493f42e8b9c1c2b2da476f0e7ff815 (patch)
tree8aee293c9a08e2ff6f1e16477f61756fc384fdbd /iurt
parent90fe47509e924d561a1c2e07f06f194373a5a30e (diff)
downloadiurt-4542dfad9d493f42e8b9c1c2b2da476f0e7ff815.tar
iurt-4542dfad9d493f42e8b9c1c2b2da476f0e7ff815.tar.gz
iurt-4542dfad9d493f42e8b9c1c2b2da476f0e7ff815.tar.bz2
iurt-4542dfad9d493f42e8b9c1c2b2da476f0e7ff815.tar.xz
iurt-4542dfad9d493f42e8b9c1c2b2da476f0e7ff815.zip
Add an option to disable netns
Diffstat (limited to 'iurt')
-rwxr-xr-xiurt4
1 files changed, 4 insertions, 0 deletions
diff --git a/iurt b/iurt
index bca67a4..17fa536 100755
--- a/iurt
+++ b/iurt
@@ -501,6 +501,10 @@ my %config_usage = (
desc => 'Enabled icecream usage and uses N procs',
default => 0
},
+ use_netns => {
+ desc => 'Create a separate network namespace for each chroot to prevent builds from accessing the network',
+ default => 1
+ },
);
if ($run{config_usage}) {