summaryrefslogtreecommitdiff
path: root/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks
diff options
context:
space:
mode:
Diffstat (limited to 'ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks')
-rw-r--r--ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks6
1 files changed, 6 insertions, 0 deletions
diff --git a/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks b/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks
index 5799d46..7ce4a9c 100644
--- a/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks
+++ b/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks
@@ -68,6 +68,12 @@ yum install -y rngd
systemctl enable rngd
systemctl start rngd
+# Set up secondary interface routing:
+echo -e "1024\tmi-01" >>/etc/iproute2/rt_tables
+echo "default table mi-01 via SECGATEWAY" \
+ >/etc/sysconfig/network-scripts/route-eno8
+echo "from SECGATEWAY table mi-01" >/etc/sysconfig/network-scripts/rule-eno8
+
# try to get access to the screen:
#exec < /dev/tty6 > /dev/tty6
#chvt 6