diff options
Diffstat (limited to 'ks-template/hw')
-rw-r--r-- | ks-template/hw/dell/R7425/100g-dtn.ks | 6 | ||||
-rw-r--r-- | ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/ks-template/hw/dell/R7425/100g-dtn.ks b/ks-template/hw/dell/R7425/100g-dtn.ks index 60f643b..c44156b 100644 --- a/ks-template/hw/dell/R7425/100g-dtn.ks +++ b/ks-template/hw/dell/R7425/100g-dtn.ks @@ -72,6 +72,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-p7p1 +echo "from SECGATEWAY table mi-01" >/etc/sysconfig/network-scripts/rule-p7p1 + # try to get access to the screen: #exec < /dev/tty6 > /dev/tty6 #chvt 6 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 |