aboutsummaryrefslogtreecommitdiffstats
path: root/modules/buildsystem/templates/iurt.conf
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mageia.org>2017-10-13 15:40:38 +0100
committerPascal Terjan <pterjan@mageia.org>2017-10-13 15:40:38 +0100
commitc41930d41665e284ed3def1e90d2e2f930325fea (patch)
tree4fe585c35e60e4c1f5cfa9a8a77a05e757ea9dac /modules/buildsystem/templates/iurt.conf
parentb672f79f37a7b2c44ad7e078e4b85cea13ea7e3a (diff)
downloadpuppet-c41930d41665e284ed3def1e90d2e2f930325fea.tar
puppet-c41930d41665e284ed3def1e90d2e2f930325fea.tar.gz
puppet-c41930d41665e284ed3def1e90d2e2f930325fea.tar.bz2
puppet-c41930d41665e284ed3def1e90d2e2f930325fea.tar.xz
puppet-c41930d41665e284ed3def1e90d2e2f930325fea.zip
Allow libguestfs to access network during build
Diffstat (limited to 'modules/buildsystem/templates/iurt.conf')
-rw-r--r--modules/buildsystem/templates/iurt.conf7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/buildsystem/templates/iurt.conf b/modules/buildsystem/templates/iurt.conf
index 56f24f66..d021d5e0 100644
--- a/modules/buildsystem/templates/iurt.conf
+++ b/modules/buildsystem/templates/iurt.conf
@@ -27,5 +27,12 @@
<%-
} -%>
},
+ use_netns => {
+ 'default' => 1,
+<%- allow_network_access.sort.each{|package| -%>
+ '<%= package %>' => 0,
+<%-
+} -%>
+ },
}