summaryrefslogtreecommitdiffstats
path: root/k8s_cluster/systemd-networkd/30-libvirt-bridge.network
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2020-12-16 21:24:26 +0100
committerDavid Runge <dave@sleepmap.de>2020-12-16 21:24:26 +0100
commit0543e3011817211445da32afe1eaa60ded44c673 (patch)
tree1ff4a268a70f0474a827b28ebbfe1de037138a97 /k8s_cluster/systemd-networkd/30-libvirt-bridge.network
downloadterraform-0543e3011817211445da32afe1eaa60ded44c673.tar.gz
terraform-0543e3011817211445da32afe1eaa60ded44c673.tar.bz2
terraform-0543e3011817211445da32afe1eaa60ded44c673.tar.xz
terraform-0543e3011817211445da32afe1eaa60ded44c673.zip
Add kubernetes example using libvirt providerHEADmaster
k8s_cluster/*: Add a terraform-provider-libvirt based examples to semi-automatically create a k8s cluster for testing.
Diffstat (limited to 'k8s_cluster/systemd-networkd/30-libvirt-bridge.network')
-rw-r--r--k8s_cluster/systemd-networkd/30-libvirt-bridge.network9
1 files changed, 9 insertions, 0 deletions
diff --git a/k8s_cluster/systemd-networkd/30-libvirt-bridge.network b/k8s_cluster/systemd-networkd/30-libvirt-bridge.network
new file mode 100644
index 0000000..542b4bd
--- /dev/null
+++ b/k8s_cluster/systemd-networkd/30-libvirt-bridge.network
@@ -0,0 +1,9 @@
+[Match]
+Name=virbr0
+
+[Network]
+Address=10.10.66.1/24
+IPForward=ipv4
+IPv6AcceptRA=no
+DHCPServer=yes
+IPMasquerade=True