From 78f7bafe61ef4f31776e57cb87c973b2f7a72efc Mon Sep 17 00:00:00 2001
From: Hinrikus Wolf <hinrikus@fsmpi.rwth-aachen.de>
Date: Mon, 22 Jan 2018 00:44:31 +0100
Subject: [PATCH] network: dirty hack for portal

---
 client/templates/20-wired.network.j2 | 7 +++++++
 1 file changed, 7 insertions(+)

diff --git a/client/templates/20-wired.network.j2 b/client/templates/20-wired.network.j2
index 020f881..28790e9 100644
--- a/client/templates/20-wired.network.j2
+++ b/client/templates/20-wired.network.j2
@@ -2,4 +2,11 @@
 Name={{ ansible_default_ipv4.interface }}
 
 [Network]
+{% if static_network %}
+Address={{ ansible_default_ipv4.address }}/26
+Gateway=137.226.231.193
+DNS=134.130.4.1
+DNS=134.130.5.1
+{% else %}
 DHCP=ipv4
+{% endif %}
-- 
GitLab