Commit 27a5b24f authored by intrigeri's avatar intrigeri

Allow not setting up masquerading in libvirt::host.

parent 8d67336f
......@@ -45,10 +45,12 @@ class shorewall::rules::libvirt::host (
}
}
shorewall::masq {
"masq-${masq_iface}":
interface => "$masq_iface",
source => '10.0.0.0/8,169.254.0.0/16,172.16.0.0/12,192.168.0.0/16';
if $masq_iface {
shorewall::masq {
"masq-${masq_iface}":
interface => "$masq_iface",
source => '10.0.0.0/8,169.254.0.0/16,172.16.0.0/12,192.168.0.0/16';
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment