Commit 2cedd87f authored by Your Name's avatar Your Name
Browse files

sysctl

parent 06e79158
......@@ -23,9 +23,7 @@ define hypervisor::network (
netmask => $netmask,
}
sysctl { 'net.ipv4.ip_forward': value => '1' }
......
......@@ -8,6 +8,11 @@ class hypervisor::networks (
require put::buster
require put::base
include network
#packages
$packages = [
'bridge-utils',
......@@ -18,6 +23,9 @@ class hypervisor::networks (
ensure_packages($packages)
sysctl { 'net.ipv4.ip_forward': value => '1' }
# create networks's defined in hiera
$networks = hiera_hash('networks')
......
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